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.
Thought it was worth adding this resource for accessible forms by the W3C since it focuses in on a star rating system.
https://www.w3.org/WAI/tutorials/forms/custom-controls/#a-star-rating
Comment | File | Size | Author |
---|---|---|---|
#4 | 2853307-4.fivestar-7.x.Accessibility-Form-Reference.patch | 6.94 KB | grahamC |
Comments
Comment #2
dbt102 CreditAttribution: dbt102 at BACnet Interest Group - Drupal for BACnet Interest Group - Drupal commentedComment #3
TR CreditAttribution: TR commented@mgifford: I would very much like to make this module as accessible as possible. However, I would focus on doing this in D8 first. Is there any specific information you can provide about what needs to be done here?
I looked through that document, and it *is* pretty specific. What I'm asking is, is there anything we can do immediately, withing the Drupal context, to make this more accessible, or is it going to require a complete re-engineered solution (hidden forms, etc., as shown in that document)?
Comment #4
grahamCTesting accessibility for a customer (on Drupal 7 using Webform Fivestar), we noticed particularly the lack of accessible feedback output from the fivestar widget, i.e. you can't tell how many stars were selected because the
select
element is completely hidden and the star links only toggle CSS classes.I had a stab at implementing the pattern in the linked W3C document - I've attached the diff here just in the hope it may help someone else out.
Comment #5
TR CreditAttribution: TR commentedHave you checked all the widget sets to see if any of their CSS needs to be altered?