Bug 128400
| Summary: | AX: error parsing role attribute tokens; need to trim/split string before analyzing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | Accessibility | Assignee: | Tyler Wilcock <tyler_w> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar, WPTImpact |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 127447 | ||
| Bug Blocks: | |||
James Craig
WebKit recognizes:
Recognizes
role="navigation complementary foo"
but not
role=" navigation complementary foo"
Probably just need to trim/split the string value before analyzing. Also check newline and other non-space whitespace chars.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/16015977>
James Craig
Also fails on newlines and tab chars in role value.
See: LayoutTests/accessibility/roles-computedRoleString.html
FAIL: div[role=foo button bar] -> . Expected: button.
FAIL: div[role=foo
button
bar] -> . Expected: button.
James Craig
Clarifying: this new layout test is coming in bug 127447.
LayoutTests/accessibility/roles-computedRoleString.html
James Craig
Tagging WPTImpact because this will fail with some of the impending role tests coming with the Interop 2023 Accessibility Investigation.