Bug 171163 - [ATK] Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE
Summary: [ATK] Elements with a defined, non-false value for aria-current should expose...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All Linux
: P2 Normal
Assignee: Joanmarie Diggs
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-22 10:19 PDT by Joanmarie Diggs
Modified: 2017-04-26 16:26 PDT (History)
9 users (show)

See Also:


Attachments
Patch (18.29 KB, patch)
2017-04-26 14:46 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 2017-04-22 10:19:57 PDT
Steps to reproduce:
1. Load data:text/html,<div role="link" aria-current="page">1</div>
2. Use Accerciser to examine the element

Expected results: the element would be exposed with STATE_ACTIVE
Actual results: the element is not exposed with STATE_ACTIVE

https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaCurrent

Also: In addition to exposing STATE_ACTIVE, when the value of aria-current changes from non-false to false or from false to non-false, an object:state-changed:active event should also be fired.
Comment 1 Radar WebKit Bug Importer 2017-04-22 10:20:14 PDT
<rdar://problem/31774572>
Comment 2 Joanmarie Diggs 2017-04-22 10:34:39 PDT
Also, the value of aria-current should be exposed via "current" object attribute.
Comment 3 Joanmarie Diggs 2017-04-26 14:46:48 PDT
Created attachment 308285 [details]
Patch
Comment 4 WebKit Commit Bot 2017-04-26 16:26:52 PDT
Comment on attachment 308285 [details]
Patch

Clearing flags on attachment: 308285

Committed r215837: <http://trac.webkit.org/changeset/215837>
Comment 5 WebKit Commit Bot 2017-04-26 16:26:54 PDT
All reviewed patches have been landed.  Closing bug.