- Issue created by @hooroomoo
- π¨π¦Canada mgifford Ottawa, Ontario
- First commit to issue fork.
There are a quite a few instances of a class="use-ajax"
without role="button"
for links that don't open to a new page. This issue is to add the role="button" attribute to those links and to add a generic solution that would add the spacebar trigger to every a class="use-ajax"
instance that should behave like a button.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/bu...
1. Add role="button" attribute where necessary
2. Create a generic solution in the ajax library to allow users to be able to trigger links that have role="button" using the spacebar. There is
already an example of this being done in the media library in
Drupal.behaviors.MediaLibraryTabs in core/modules/media_library/js/media_library.ui.js
Active
10.1 β¨
Last updated
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.