WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Does button:hover have contrast requirements?

for

From: Mallory
Date: Jun 10, 2017 10:45AM


One could argue that if the focus state in particular is way too subtle
for a user, then for that user it breaks the Visible Focus rule.

On Thu, Jun 8, 2017, at 12:44 AM, Meacham, Steve - FSA, Kansas City, MO
wrote:
> When the indicator is a border-box, I'll measure it's contrast against
> the background to see if it meets WCAG requirements. If the item itself
> just changes color, I'd make sure that both the focus and unfocused
> colors have sufficient contrast to background, but I don't compare them
> to one another.
>
> -----Original Message-----
> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
> Behalf Of Henry, Michael (IntelliDyne)
> Sent: Wednesday, June 07, 2017 1:56 PM
> To: <EMAIL REMOVED>
> Subject: [WebAIM] Does button:hover have contrast requirements?
>
> Hello everyone,
>
>
> I've been searching but with limited time, it's been difficult to find
> this answer.
>
> Is there a requirement (or best practice) that the hover/focus state of a
> button (not text link) have some measurable, distinct contrast from its
> default state?
>
>
> I know that a button's hover/focus state should look distinctly different
> than its default state, but is there a numerical requirement that I need
> to measure, as there is with text color vs background color?
>
>
> thanks!
>
> Mike
> > > at http://webaim.org/discussion/archives
> >
>
>
>
> This electronic message contains information generated by the USDA solely
> for the intended recipients. Any unauthorized interception of this
> message or the use or disclosure of the information it contains may
> violate the law and subject the violator to civil or criminal penalties.
> If you believe you have received this message in error, please notify the
> sender and delete the email immediately.
> > > >