Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Issue :
ARIA role of aria-expanded is missing for the show more/show less option when used.
Fix: When show more link is specified add aria-expanded=false
and when show less exists on the page add aria-expanded=true
https://www.w3.org/TR/wai-aria-practices-1.1/examples/accordion/accordio...
Comment | File | Size | Author |
---|---|---|---|
#5 | facets-508-show-more-3136374-5.patch | 1.16 KB | smustgrave |
Comments
Comment #2
smustgrave CreditAttribution: smustgrave commentedComment #3
smustgrave CreditAttribution: smustgrave commentedComment #4
smustgrave CreditAttribution: smustgrave commentedComment #5
smustgrave CreditAttribution: smustgrave commented508 team identified a 2nd issue that this patch should resolve. Hoping this can be incorporated into the module.
Comment #7
smustgrave CreditAttribution: smustgrave commentedAdded the wrong test.
Comment #8
jannakha CreditAttribution: jannakha as a volunteer and at Tomato Elephant Studio commentedThanks for the patch!
Comment #9
borisson_This looks great and increases our accessiblity, thanks!
Comment #11
mkalkbrennerCommitted after re-testing. Thanks for your help!