WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185498
AX: accessibleNameForNode should simplify whitespace when using innerText
https://bugs.webkit.org/show_bug.cgi?id=185498
Summary
AX: accessibleNameForNode should simplify whitespace when using innerText
Joanmarie Diggs
Reported
2018-05-09 16:48:12 PDT
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.
Attachments
Patch
(4.75 KB, patch)
2018-05-09 16:50 PDT
,
Joanmarie Diggs
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joanmarie Diggs
Comment 1
2018-05-09 16:50:05 PDT
Created
attachment 340051
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2018-05-09 17:36:33 PDT
<
rdar://problem/40113814
>
WebKit Commit Bot
Comment 3
2018-05-09 18:50:00 PDT
Comment on
attachment 340051
[details]
Patch Clearing flags on attachment: 340051 Committed
r231627
: <
https://trac.webkit.org/changeset/231627
>
WebKit Commit Bot
Comment 4
2018-05-09 18:50:01 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug