Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form element only gets the form role if it has an accessible name, similar to section element #423

Closed
jongund opened this issue Jun 20, 2022 · 2 comments

Comments

@jongund
Copy link

jongund commented Jun 20, 2022

The current spec says that the form element maps by default to the form role and the form role in the ARIA 1.2 spec says that the form role is required to have an accessible name. I don't think we want accessible names on every form element. Something has to change, seems the easy change is to make the form role conditional on the presence of an accessible name, similar to the wording for the section element.

@scottaohara
Copy link
Member

Aria 1.3 adds more clarity here. And html aam is already updated to indicate that a form landmark needs a name, but unnamed the form role may still be exposed, but not as a landmark

since aria in html doesn’t define what roles each element has, any necessary change wouldn’t start here.

Maybe further clarification is needed in aria.

@scottaohara
Copy link
Member

closing this issue as this is not the spec that would need a change.

I have filed an issue in ARIA per the necessary further clarification, as the mappings in HTML AAM and Core AAM are also up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants