Add aria attributes on state change for Toggle sidebar button

Created on 27 March 2024, 3 months ago

Problem/Motivation

Add aria attributes on state change for Toggle sidebar button.

Steps to reproduce

On the layout page, clicking on the "Toggle sidebar" button reveals an accessibility issue as there are no ARIA attributes indicating the state change. This makes it difficult for users with screen readers to identify the current state.

Proposed resolution

On the default state we can use aria-expanded="false" and on active state we can use aria-expanded="true".

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

🇮🇳India Gauravvv Delhi, India

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024