Bug 1055355 - Give content editable fields ARIA textbox roles.

Possibly, but it is not as urgent. In this case, the container ul gets a
role of listbox, and since the actionable element is the child anchor, not
the li, we want to ignore the li and use the anchor, so we give it a role
of option. So when we dispatch a click, the correct element will be the
target.


On Thu, Sep 4, 2014 at 8:53 PM, steveck-chung <notifications@github.com>
wrote:

> In apps/sms/index.html:
>
> > @@ -313,8 +314,8 @@ <h1 id="messages-edit-mode" data-l10n-id="deleteMessages-title">Delete Messages<
> >
> >      <div id="contact-suggestion-tmpl" class="hide">
> >        <!--
> > -      <li>
> > -        <a class="suggestion"
> > +      <li role="presentation">
>
> It just remind me the we use the list item with similar structure in
> thread list/message bubble/ some other place as well, but we create these
> element in JS. Do you think is it also necessary that we need to set role
> presentation for these list elements?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla-b2g/gaia/pull/23013/files#r17156097>.
>