Re: Is content on hover only a WCAG failure?

On 10/18/2017 6:36 AM, John Foliot wrote:
> > It is not a failure if that information is either useless or easily 
> available in another way for keyboard users.
>
> The problem here being the definition of "useless", which in James' 
> usage is a subjective assessment: what may be "useless" to James may 
> have value to somebody else (including, presumably, the content 
> author, who provided that "useless" content originally).
>
> Then (to my mind) there is also the difference between "function" and 
> "content", as well as the unfortunate way that browsers (and screen 
> readers) have handled @title over the years.
>
> In Stephen's first example:
>
>     <label>Reason<input type=”text” …
>     aria-describedby=”tooltip”></label><img src=”help-icon.png” …
>     onmouseover=”showTooltip()”>
>
> ... I would argue that, because the author has explicitly scripted the 
> 'showing' of the tool-tip, that the subjective second question ("is this
> ​'​
> useless
> ​'​
> or not?") does not factor into the equation: the author
> ​is consciously using a ​
> scripted behavior that is not keyboard accessible
> ​.​
>  This fails SC 2.1.1.​
> ​ - The End​
> .
> ​
>

No it does not. There may be multiple places where that same tooltip 
shows and the author, being considerate to keyboard users and not 
wanting to overwhelm them by pressing tab too many times, only made one 
of them focusable and hence only added the tooltip onfocus to that one.
There are many other similar scenarios. The SC is clear that the 
functionality needs to be available - not that every instance 
onmouseover needs a keyboard equivalent.


-- 
Regards, James

<http://www.oracle.com> James Nurthen | Principal Engineer, Accessibility
Phone: +1 650 506 6781 <tel:+1%20650%20506%206781> | Mobile: +1 415 987 
1918 <tel:+1%20415%20987%201918> | Video: james.nurthen@oracle.com 
<sip:james.nurthen@oracle.com>
Oracle Corporate Architecture
500 Oracle Parkway | Redwood City, CA 94065
<http://www.oracle.com/commitment> Oracle is committed to developing 
practices and products that help protect the environment

Received on Wednesday, 18 October 2017 16:33:06 UTC