Add aria-expanded attribute

Created on 17 January 2022, almost 3 years ago
Updated 28 March 2024, 9 months ago

Problem/Motivation

The state of the "Read more" button, whether its content is collapsed or expanded, is not announced by the screen reader.
Since this element is tabbable, it doesn't require the recommended tabindex="0" but should receive role="button".

In addition, follow this:

Use an aria-expanded attribute to provide information about the current state of the element. Initially, set the value to "false" and handle the functionality using JS.

Refer to:
https://www.w3.org/WAI/GL/wiki/Using_aria-expanded_to_indicate_the_state...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

🇷🇸Serbia levmyshkin Novi Sad, Serbia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024