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.
Hello
It would be great if the Webform module had aria-required for required fields support.
EDIT: Corrected typos of "required" to allow searching for this issue.
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedComment #2
Liam MorlandWebform already adds the HTML5 required attribute, so it is redundant to add the aria-required attribute as well. It adds no additional meaning. ARIA contains many attributes which already exit natively in HTML. ARIA has these for when it is used with languages which do not have native attributes with the meaning.
If you really want this, the Webform ARIA module does what you want.
Comment #3
Liam MorlandOn the other hand, one thing I read suggested that some screen readers support @aria-required, but ignore @required, so perhaps they should both be there.
Comment #4
Liam MorlandComment #5
DanChadwick CreditAttribution: DanChadwick commentedThe maintainers have decided to defer all aria issues to D8. They are marked postponed because they will be looked at after the D8 port is functional.
Comment #6
opdaviesThere is the Webform ARIA module that provides this functionality for Drupal 7.
Comment #7
DanChadwick CreditAttribution: DanChadwick commentedI don't know of one. If your google powers find one, please post back.
Comment #8
opdaviesDoes Webform ARIA not do what you need?
Comment #9
mgiffordComment #10
fenstratClosing to clear out the old Webform 8.x-4.x branch. See #2827845: [roadmap] YAML Form 8.x-1.x to Webform 8.x-5.x.