NEW 142005
AX: Should we sanity-check children of ARIA roles textbox and searchbox?
https://bugs.webkit.org/show_bug.cgi?id=142005
Summary AX: Should we sanity-check children of ARIA roles textbox and searchbox?
Joanmarie Diggs
Reported 2015-02-24 21:48:20 PST
While working on bug 142004, I discovered that at least some children of elements with ARIA role textbox are exposed unexpectedly (at least to me). One quick example: <div role="textbox"><h1>Heading</h1></div> I'm not sure to what extent, if any, we should be sanity-checking these ARIA roles. So I'm opening this bug for discussion -- and work if we don't WONTFIX it. I'll implement searchbox support in the meantime.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-02-24 21:48:37 PST
chris fleizach
Comment 2 2015-03-01 22:48:23 PST
Is textbox allowed to have children?
Joanmarie Diggs
Comment 3 2015-03-02 16:40:31 PST
(In reply to comment #2) > Is textbox allowed to have children? Why not? (She says having given it more thought, discussion with others, and examination of real-world, non-ARIA equivalent use cases.) * A multi-line ARIA-roled textbox as a rich-text comment-submission field * A single-line ARIA-roled textbox which has buttons to clear the contents, enable voice-based input, stylize/highlight errors, show results in real time. * A searchbox in which you can drag and drop an image or some other object or rich text to find "something like this thing". (Along with the button to clear the results, choose the search provider etc.) The more I think about it the more I think this is a WONTFIX because there's not a Right(tm) or Wrong(tm) candidate child and who knows what creative developers will come up with. <insert shrug here> The one thing that would be worth doing I think, both here and downstream in our respective platforms, is add regression tests with a variety of things we might not expect in a search box or textbox in order to be sure we, and our platform ATs, don't spit up on them. Thoughts?
Note You need to log in before you can comment on or make changes to this bug.