-
Notifications
You must be signed in to change notification settings - Fork 278
Description
Feature Request Description
To be a11y compliant, every element should have a descriptive name, which is announced by a screenreader. However, the text of SideNavigationItem component could vary from what is expected to be announced by a screen reader and/or there could be a necessity to provide additional information.
Proposed Solution
Add an accessibleName name prop to SideNavigationItem component (e.g. similarly to MenuItem), which will allow to programmatically specify the text, which is expected be read by a screen reader.
Proposed Alternatives
No response
Organization
No response
Additional Context
We've encountered a necessity to provide an amount counters for each SideNavigationItem (please, refer a screenshot). Despite the fact, that SideNavigationItem doesn't allow to provide anything except for pure string values to be displayed as an item's text, we've managed to add counters as another component, absolutely positioned over SideNavigation.
However, there's still missing a11y support - as we couldn't provide custom accessibleName to SideNavigationItem, the counters are not pronounced by screen readers.
Priority
Medium
Privacy Policy
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Type
Projects
Status