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

DanChadwick’s picture

Title: Implement aria-reqired for requred fields » Implement aria-reqired for required fields
Issue summary: View changes
Status: Needs work » Active
Liam Morland’s picture

Webform 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.

Liam Morland’s picture

On 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.

Liam Morland’s picture

DanChadwick’s picture

Version: 7.x-4.x-dev » 8.x-4.x-dev
Status: Active » Postponed

The 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.

opdavies’s picture

There is the Webform ARIA module that provides this functionality for Drupal 7.

DanChadwick’s picture

I don't know of one. If your google powers find one, please post back.

opdavies’s picture

Does Webform ARIA not do what you need?

mgifford’s picture

Issue tags: +Accessibility
fenstrat’s picture

Status: Postponed » Closed (outdated)

Closing 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.