Accessibility Enhancement Request
-
First of all, thank you for this excellent plugin.
Would it be possible to add a few accessibility improvements to make it more compliant with WCAG and improve the user experience for keyboard and assistive technology users?Requested improvements
- Make the language selector fully keyboard accessible:
- The expandable element should receive keyboard focus.
- Users should be able to open the language selector and change the language using only the keyboard.
- Improve the expandable element’s accessibility:
- Add the
aria-expanded="false"attribute to the trigger element by default. - Update the attribute to
aria-expanded="true"when the language selector is expanded. - Ensure the trigger can be activated using the Enter and Space keys.
- Add the
- Update image alternative text:
- The
altattribute of each language image should be updated dynamically. - Currently, the
alttext remains the same even when the selected language changes, which can be confusing for screen reader users. - The
alttext should accurately reflect the language represented by each image.
- The
- Make the language selector fully keyboard accessible:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.