Closed Bug 559747 Opened 14 years ago Closed 12 years ago

a11y mochitest for <input type="search">

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: surkov, Assigned: capella)

References

(Blocks 1 open bug, )

Details

(Keywords: access, Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=js])

Attachments

(1 file)

It's going to be autocomplete text field, we should expose it with COMBOBOX_ROLE.
Autocomplete stuffs should be covered by bug 559766
Depends on: 559766
It should be exposed as text entry with autocomplete state now. So all we should do is to add mochitest (add to states/test_inputs at autocomplete testing part and to tree/test_txtctrl.html).
Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=js]
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Attached patch Patch (v1)Splinter Review
This patch looks like the one we just did for Bug 559759 ... let me know if there's something more to it that I'm missing and I'll address it ...
Attachment #618404 - Flags: feedback?(surkov.alexander)
Comment on attachment 618404 [details] [diff] [review]
Patch (v1)

Review of attachment 618404 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/tests/mochitest/states/test_inputs.html
@@ +164,5 @@
> +  <a target="_blank"
> +     href="https://bugzilla.mozilla.org/show_bug.cgi?id=559747"
> +     title="Add a11y mochitests for input type=search">
> +    Mozilla Bug 559747
> +  </a>

in general you don't need a bug reference when the bug is about adding a mochitest
Attachment #618404 - Flags: review?(marco.zehe)
Attachment #618404 - Flags: feedback?(surkov.alexander)
Attachment #618404 - Flags: feedback+
Comment on attachment 618404 [details] [diff] [review]
Patch (v1)

r=me, thanks!

Note that in the long term, I'd like to see us use a new internal role for search inputs. Both mobile operating systems and Mac OS X know about this special input, and we should expose it correctly. But that should be done in a separate bug, since what we have now works on a basic level, and covering it with these tests here is perfect. Thanks for the patch!
Attachment #618404 - Flags: review?(marco.zehe) → review+
Marco, please file a bug on it. You can make it a good first bug.
https://hg.mozilla.org/mozilla-central/rev/543a22b27d8e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Summary: make <input type="search"> accessible → a11y mochitest for <input type="search">
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: