Bug 197447
| Summary: | AXI: Label for inline elements can display extraneous whitespace. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
James Craig
AXI: Label for inline elements can display extraneous whitespace.
Given the following markup:
<input type="text" id="test" />
<label for="test">W<i>h<b>a</b></i>t<br>is<div>your<div>name<b>?</b></div></div></label>
If you select the text field in the Web Inspector, and display the Accessibility section of the Node Inspector, the label is listed as
"W h a t is your name ?"
not
"What is your name?"
I'm not certain if this is a bug according to the AccName spec, but it was unexpected to me. The inline nodes (b, i, etc.) I thought would be concatenated without leading and trailing space.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/50361874>