Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE

RESOLVED FIXED in Firefox 56

Status

()

defect
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jdiggs, Assigned: jdiggs)

Tracking

(Blocks 1 bug)

unspecified
mozilla56
Unspecified
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

Assignee

Description

2 years ago
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
Assignee

Comment 1

2 years ago
Hopefully it goes without saying, but just in case: 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.
Assignee

Comment 2

2 years ago
Posted patch proposed patch (obsolete) — Splinter Review
Assignee: nobody → jdiggs
Status: NEW → ASSIGNED
Attachment #8883124 - Flags: review?(mzehe)
Assignee

Comment 3

2 years ago
(This version fixes a nit in the previous version's alphabetizing of states. Sorry for the noise!)
Attachment #8883124 - Attachment is obsolete: true
Attachment #8883124 - Flags: review?(mzehe)
Attachment #8883136 - Flags: review?(mzehe)
Assignee

Updated

2 years ago
Keywords: checkin-needed

Comment 5

2 years ago
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4bc42c671bd2
Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE. r=marcoz
Keywords: checkin-needed

Comment 6

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4bc42c671bd2
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.