WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Does button:hover have contrast requirements?

for

From: Karl Brown
Date: Jun 12, 2017 1:36AM


Generally I advise not just changing colour, but adding something else in,
e.g., adding an underline or a border. There isn't a specific requirement
to do so, though my view is that we want to make sure people can tell the
state has changed.

On Sat, Jun 10, 2017 at 5:45 PM, Mallory < <EMAIL REMOVED> > wrote:

> 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.
> > > > > > > > > > > > >



--
Karl Brown
Twitter: @kbdevelops
Skype: kbdevelopment

Professional Certificate Web Accessibility Compliance (Distinction),
University of South Australia, 2015