RESOLVED FIXED 51481
AX: WAI-ARIA textbox role needs different AXRole, depending on value of aria-multiline property
https://bugs.webkit.org/show_bug.cgi?id=51481
Summary AX: WAI-ARIA textbox role needs different AXRole, depending on value of aria-...
chris fleizach
Reported 2010-12-22 10:30:02 PST
AX: WAI-ARIA textbox role needs different AXRole, depending on value of aria-multiline property Currently uses AXTextArea in all cases. Should use AXTextField by default unless it's a multiline text box, as defined below. "If aria-multiline=”false” (default) use: AXRole AXTextField AXRoleDescription text field If aria-multiline=”true” use: AXRole AXTextArea AXRoleDescription text entry area"
Attachments
Patch (7.95 KB, patch)
2010-12-22 10:42 PST, chris fleizach
sam: review+
chris fleizach
Comment 1 2010-12-22 10:30:28 PST
chris fleizach
Comment 2 2010-12-22 10:42:18 PST
Darin Adler
Comment 3 2010-12-22 11:46:03 PST
Comment on attachment 77233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77233&action=review > WebCore/accessibility/AccessibilityObject.cpp:842 > + return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); fastGetAttribute would be better here
chris fleizach
Comment 4 2010-12-22 11:46:45 PST
(In reply to comment #3) > (From update of attachment 77233 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=77233&action=review > > > WebCore/accessibility/AccessibilityObject.cpp:842 > > + return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); > > fastGetAttribute would be better here the version of getAttribute in AccessibilityObject calls fastGetAttribute
Darin Adler
Comment 5 2010-12-22 11:51:19 PST
Comment on attachment 77233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77233&action=review >>> WebCore/accessibility/AccessibilityObject.cpp:842 >>> + return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); >> >> fastGetAttribute would be better here > > the version of getAttribute in AccessibilityObject calls fastGetAttribute Got it. Excellent.
chris fleizach
Comment 6 2010-12-22 11:51:50 PST
WebKit Review Bot
Comment 7 2010-12-22 12:50:26 PST
http://trac.webkit.org/changeset/74492 might have broken GTK Linux 64-bit Debug
Note You need to log in before you can comment on or make changes to this bug.