[Webkit-unassigned] [Bug 197447] New: AXI: Label for inline elements can display extraneous whitespace.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 30 17:38:23 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197447

            Bug ID: 197447
           Summary: AXI: Label for inline elements can display extraneous
                    whitespace.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jcraig at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190501/2ded36f7/attachment.html>


More information about the webkit-unassigned mailing list