Skip to content

Conversation

@kivuvarosekivuvan
Copy link
Contributor

@kivuvarosekivuvan kivuvarosekivuvan commented Jul 23, 2024

Engineers Checklist

Description

Changes

  • Added aria-label attribute to the <mzima-client-button> element with the value "Expand or collapse category"
  • This provides a clear and concise description of the button's purpose for screen reader users

Screenshots

Before:
Screenshot 2024-07-23 at 09 16 11

After:
Screenshot 2024-07-23 at 09 15 05

Testing

  • Verified the button is still functioning correctly
  • Tested with a screen reader to ensure the aria-label is read aloud correctly
  • Manually inspected the button to ensure the visual design remains consistent

… provide a clear and concise description of the button's purpose for screen reader users.

- The aria-label text Expand or collapse category informs users that the button is used to toggle the visibility of category children.
- This change ensures the button is more accessible and understandable for all users, including those who rely on screen readers.
@linear
Copy link

linear bot commented Jul 23, 2024

@kivuvarosekivuvan kivuvarosekivuvan merged commit 0e162f0 into development Aug 1, 2024
@kivuvarosekivuvan kivuvarosekivuvan self-assigned this Aug 5, 2024
tuxpiper pushed a commit that referenced this pull request Aug 8, 2024
… with aria-label (#1173)

* - Add an aria-label attribute to the <mzima-client-button> element to provide a clear and concise description of the button's purpose for screen reader users.
- The aria-label text Expand or collapse category informs users that the button is used to toggle the visibility of category children.
- This change ensures the button is more accessible and understandable for all users, including those who rely on screen readers.

* Fixed the ariaLabel angular directive instead of using the normal html static aria label

* Reverted the env file

* Reverted the env file

---------

Co-authored-by: ROSE <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accesibility] Empty button issue with dropdown icon in Categories List

3 participants