v0.5.0 release
Change logs :
General :
- Added a new A11ySection component. It's useful to provide additionnal information on how to use some unconventional UI.
- Added the role togglebutton to the A11y component
- A11y Component with content role are not focusable by default anymore.
- Use the native disabled attribute instead of aria-disabled
- removed the pressedDescription prop on A11y. It was encouraging to change the inner text of a button which is often more confusing than helpful.
- Removed all of the ARIA live call that could be a duplicate information.
- Changed the ARIA live region's politeness level to "polite" (not "assertive")
- Added the possibility to dynamically hide some 3D objects from screen readers using aria-hidden
- renamed the pressed props to startPressed to reflect more how it works
Demo changes :
- Removed action prompts like "Press" from the button text.
- Removed the word "button" from the button text.
- Hide carousel items that are not meant to be "visible" from screen reader users.
- Since this is a complex, non-standard UI, some screen-reader-only instructions should be provided to explain how to work with it. This is now done through the A11ySection component.
- The content order of the arrow buttons, 3D shapes, and light mode button now match the visual appearance.
- Color contrast has been improved