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.
Problem/Motivation
After clicking the "Show more" or "Show less" link on a Facet that has a limit, keyboard / screenreader focus remains on the "Show more" or "Show less" link; so the next thing that the screenreader reads is the next facet block.
Proposed resolution
Set focus on the first checkbox in the facet after expanding or collapsing the facet.
Remaining tasks
- Write a patch
- Review and feedback
- RTBC and feedback
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2860317-3-assistive-tech-focus-facet-limit.patch | 1004 bytes | Sophie.SK |
#2 | 2860317-2-assistive-tech-focus-facet-limit.patch | 1.03 KB | mparker17 |
|
Comments
Comment #2
mparker17Here's a patch. Feedback welcome!
Comment #3
Sophie.SKThis patch didn't apply to FacetAPI 1.5, so I rerolled it against that version.
It also only applied to inputs/checkboxes. Our version uses links. The patch no longer does exactly the same thing, but hopefully by adding a second patch I can help someone else :)
Comment #5
Sophie.SKUploading the correct path in the patch