Bug 149313
| Summary: | AX: Link content is not included in node name calculation when targeted by aria-labelledby | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jesse Beach <jesse.r.beach> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 8 | ||
| Hardware: | Mac | ||
| OS: | OS X 10.11 | ||
Jesse Beach
The accessible label of link elements (content, aria-label, title) is not included in the composed label indicated by aria-labelledby. I've put together a codepen that can be opened in Chrome (correct behavior) and Safari (aberrant behavior).
http://codepen.io/jessebeach/pen/xwZQRp
Chrome produces: "Catelyn Stark, Ned Stark, Arya Stark with Jon Snow and Bran Stark Some content group"
Safari produces: ", Ned Stark , with and Some content group"
The missing words are content from link elements.
This produces a bad experience when, for example, the title of a post, which contains a link, is used as the label for an article or story item.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/22749069>