Summary: | AX: @aria-label attribute should work on <label> element | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nan Wang <n_wang> | ||||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, jcraig, jdiggs, mario, n_wang, samuel_white, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Nan Wang
2016-04-29 17:50:24 PDT
Created attachment 277769 [details]
initial patch
Comment on attachment 277769 [details] initial patch View in context: https://bugs.webkit.org/attachment.cgi?id=277769&action=review > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:1269 > + // If there's aria-label on the label, we should use it instead. this comment seems unnecessary, since its self evident from the code > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:1270 > + const AtomicString& labelStr = labelObject->getAttribute(aria_labelAttr); const AtomicString& ariaLabel > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1075 > + // otherwise its inner text will be announced by screenreader. announced by "a" screenrea Created attachment 277799 [details]
patch
applied review comments
Comment on attachment 277799 [details] patch Clearing flags on attachment: 277799 Committed r200290: <http://trac.webkit.org/changeset/200290> All reviewed patches have been landed. Closing bug. |