If you place role=main
(example 1) or other landmark role on a div
containing form fields, when JAWS 13 (using IE) is in forms mode it announces "landmark region" along with the field label text, each time a field receives focus. If you place the form
landmark role on a div
element or form
element, nested inside the div
element (example 2 & example 3) JAWS does not announce "landmark region" inappropriately. It instead announces the controls label as it should.
role=main
on div
elementrole=form
on a div
element nested in div role=main
elementrole=form
on a form
element nested in div role=main
element