WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Seeking public feedback for W3C ARIA role=formlandmark mapping

for

From: Tim Harshbarger
Date: Apr 25, 2016 6:58AM


Hi,

My thought is that, if forms are only recognized as landmarks when they have labels, then you would just have to remove the aria-label from the example to ensure that only the search landmark is recognized.

<div role="search">
<form>
...
</form>
</div>

For the type of environment I work in, I think this approach would be more beneficial. On pages where we might have multiple forms within a main or other landmark, the role="form" and aria-label would give us an additional way to help differentiate forms for users. In existing landmarks where we might only have one form, we wouldn't be introducing an additional landmark that has little or no value for the user experience.