Bug 166703 - AX: aria-hidden="true" is ignored with aria-flowto
Summary: AX: aria-hidden="true" is ignored with aria-flowto
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 10
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2017-01-04 16:42 PST by Jonathan Deutsch
Modified: 2017-01-04 16:42 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Deutsch 2017-01-04 16:42:26 PST
If aria-hidden=true is on an element, it will still be navigated to by aria-flowto.

Example HTML:

<div id="item1" role="img"    aria-flowto="item2">  Item 1 (role=img, flowto=item2)</div>
<div id="item2" role="button" aria-flowto="item3">  Item 2 (role=button, flowto=item3)</div>
<div id="item3" role="img"    aria-flowto="item4" aria-hidden="true">  Item 3 (role=img, flowto=item4, aria-hidden=true)</div>
<div id="item4" role="radio"  aria-flowto="item1">  Item 4 (role=radio, flowto=item1)</div>

In this case, swiping right will still have it go to item 3, despite its aria-hidden status.  If the aria-flowto is not defined, then it will be skipped, such as this example:

<div id="item1" role="img">  Item 1 (role=img)</div>
<div id="item2" role="button">  Item 2 (role=button)</div>
<div id="item3" role="img" aria-hidden="true">  Item 3 (role=img, aria-hidden=true)</div>
<div id="item4" role="radio">  Item 4 (role=radio)</div>

I am reproducing on iPad Pro with iOS 10.2.1 via:
1. Enabling VoiceOver
2. Swiping to the right
Comment 1 Radar WebKit Bug Importer 2017-01-04 16:42:48 PST