Bug 197447

Summary: AXI: Label for inline elements can display extraneous whitespace.
Product: WebKit Reporter: James Craig <jcraig>
Component: Web InspectorAssignee: 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
Reported 2019-04-30 17:38:23 PDT
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
Radar WebKit Bug Importer
Comment 1 2019-04-30 22:46:15 PDT
Note You need to log in before you can comment on or make changes to this bug.