Bug 157331 - AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
Summary: AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joanmarie Diggs
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-03 16:48 PDT by Joanmarie Diggs
Modified: 2016-05-04 05:54 PDT (History)
2 users (show)

See Also:


Attachments
Patch (32.56 KB, patch)
2016-05-03 17:09 PDT, Joanmarie Diggs
no flags Details | Formatted Diff | Diff
Patch (34.16 KB, patch)
2016-05-03 21:21 PDT, Joanmarie Diggs
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2016-05-03 16:48:32 PDT
In ARIA 1.1, the 'region' role became a landmark [1]. This has implications for the HTML 'section' element whose default ARIA role is region, namely that potentially a lot of sections will start showing up in the landmark navigation provided by ATs, making that functionality less efficient/useful.

The HTML AAM provides guidance related to this [2]:

    Note: It is strongly recommended that user agents such as screen
    readers only convey the presence of, and provide navigation for
    section elements, when the section element has an accessible name.

The easiest way to accomplish what the HTML AAM recommends is to not expose sections which lack accessible names as landmarks.

[1] https://rawgit.com/w3c/aria/master/aria/aria.html#region
[2] https://rawgit.com/w3c/aria/master/html-aam/html-aam.html#el-section
Comment 1 Radar WebKit Bug Importer 2016-05-03 16:49:21 PDT
<rdar://problem/26078217>
Comment 2 Joanmarie Diggs 2016-05-03 17:09:54 PDT
Created attachment 278047 [details]
Patch
Comment 3 Joanmarie Diggs 2016-05-03 21:21:12 PDT
Created attachment 278065 [details]
Patch
Comment 4 chris fleizach 2016-05-03 23:33:09 PDT
Comment on attachment 278065 [details]
Patch

looks good!
Comment 5 WebKit Commit Bot 2016-05-04 05:54:22 PDT
Comment on attachment 278065 [details]
Patch

Clearing flags on attachment: 278065

Committed r200415: <http://trac.webkit.org/changeset/200415>
Comment 6 WebKit Commit Bot 2016-05-04 05:54:25 PDT
All reviewed patches have been landed.  Closing bug.