[Webkit-unassigned] [Bug 185498] New: AX: accessibleNameForNode should simplify whitespace when using innerText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 16:48:12 PDT 2018


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

            Bug ID: 185498
           Summary: AX: accessibleNameForNode should simplify whitespace
                    when using innerText
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jdiggs at igalia.com
                CC: webkit-bug-importer at group.apple.com

Given this test case:

  <input id="test" type="text" aria-labelledby="hidden" />
  <div style="display:none;">
    <div id="hidden">
      <table>
        <tr>
          <td>cell 1</td>
          <td><div>cell 2</div></td>
          <td>cell 3</td>
        </tr>
      </table>
    </div>
  </div>

The accessible name calculated for the element with id of "test" should be "cell 1 cell 2 cell 3" without new line characters or additional spaces. We're adding both because accessibleNameForNode falls back on innerText when there is no AccessibilityObject, and there is no AccessibilityObject because the element from which the name is to be calculated is not rendered.

-- 
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/20180509/51527935/attachment.html>


More information about the webkit-unassigned mailing list