Bug 167567 - AX: WebKit fails to trim whitespace in name computation, resulting in missing link label
Summary: AX: WebKit fails to trim whitespace in name computation, resulting in missing...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-01-29 17:54 PST by James Craig
Modified: 2017-01-29 17:54 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2017-01-29 17:54:05 PST
Test case:
<a href="#" aria-label=" ">test</a>

VoiceOver says "link, space"

The name computation states that each step in the chain should trim whitespace, and move on to the next. In this case, aria-label yields a whitespace-only result, so it should be trimmed and eventually yield the element contents: "link, test"

https://www.w3.org/TR/accname-aam-1.1/
Comment 1 Radar WebKit Bug Importer 2017-01-29 17:54:25 PST
<rdar://problem/30255692>