Bug 260216
| Summary: | AX: ARIA role parsing should ignore any leading/trailing whitespace, including line breaks | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | andresg_22, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
James Craig
WPT Failure: ARIA role parsing should ignore any leading/trailing whitespace, including line breaks.
Failure in new test, "div[role=button] ignoring line break"
https://wpt.fyi/results/wai-aria/role/fallback-roles.html?label=experimental&label=master&aligned
For this markup (the line break here is substantive)
<div role="
button" data-testname="div[role=button] ignoring line break" aria-label="x" data-expectedrole="button" class="ex">x</div>
FAIL message: expected "button" but got "generic" as the computed role
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113923520>
James Craig
https://github.com/web-platform-tests/interop-2023-accessibility-testing/issues/11
Hunseop Jeong
Pull request: https://github.com/WebKit/WebKit/pull/17337
EWS
Committed 267930@main (3693580c14ed): <https://commits.webkit.org/267930@main>
Reviewed commits have been landed. Closing PR #17337 and removing active labels.