Failing WPT accname/name/comp_name_from_content.html
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: twisniewski, Assigned: nlapre)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
Assignee | ||
Comment 1•2 years ago
|
||
Noting for later that we're currently failing 13 tests in this file.
Assignee | ||
Comment 2•1 year ago
|
||
When Gecko computes the text alternative for accessibles, it avoids jamming
names together without spaces between them for elements with block-like CSS
display styles. This revision adds "inline-block" to that block-like list. It
also removes the relevant expected failures from the WPT meta file.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Note that the above patch only fixes 3 of the failures in this file. The bug should remain open even after that patch lands.
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
After a bit of investigation, I think that fixing the following test failures in this test file are dependent on the resolution of Bug 1281158:
- button name from fallback content with ::before and ::after
- heading name from fallback content with ::before and ::after
- link name from fallback content with ::before and ::after
- button name from fallback content mixing attr() and strings with ::before and ::after
- heading name from fallback content mixing attr() and strings with ::before and ::after
- link name from fallback content mixing attr() and strings with ::before and ::after
The resolution of that bug might fix those six tests, but it's worth double-checking once that's done.
Comment 6•1 year ago
|
||
bugherder |
Assignee | ||
Comment 7•1 year ago
|
||
The Acc Name spec requires that, "if [...] the current node is not already part
of an ongoing aria-labelledby or aria-describedby traversal," UAs should not
continue to follow aria-labelledby / aria-describedby IDREFs. It also requires
that "[e]ach node in the subtree is consulted only once." This revision
implements these rules and updates relevant tests, including removal of WPT
expected-fail designations. The concept of sInitiatorAcc has been expanded - we
now track all referenced accessibles. We also track whether we're in an
aria-labelledby or aria-describedby traversal.
Comment 8•1 year ago
|
||
Simple test case for CSS content alt text:
data:text/html,<style> button::before { content: url("https://via.placeholder.com/10x10.png") / "before"; } </style><button>button
Comment 10•1 year ago
|
||
bugherder |
Assignee | ||
Comment 11•1 year ago
|
||
Two failing tests remain in this test file, both of which I think are invalid. Discussing that here. My hope is that, once we resolve that issue in the web platform tests repo, we'll be able to close this issue with no other patches to Gecko.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•