WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: the state of contenteditable

for

From: Jesse Hausler
Date: May 28, 2014 5:06PM


Oh, did this not make it into the final recommendation?
http://www.w3.org/TR/2007/WD-aria-role-20070601/#textarea


On Wed, May 28, 2014 at 3:54 PM, Bryan Garaventa <
<EMAIL REMOVED> > wrote:

> ARIA should be used to ensure proper AT mappings in the accessibility
> tree, and to set an explicit label for the field.
>
> There is no textarea role however, this should be textbox. See
> http://www.w3.org/TR/wai-aria/roles#textbox
>
> So, role="textbox" should be added to set the role, aria-multiline should
> be set to 'true' to set textarea-like input, and aria-label or
> aria-labelledby should be set to assign an explicit label for the field,
> all of which would be on the focusable element that includes
> contenteditable.
>
>