W3C home > Mailing lists > Public > www-validator@w3.org > May 2020

Re: Nu-HTML warning - Aria-label with horizontal rule?

From: Joseph Polizzotto MA <jpolizzotto@berkeley.edu>
Date: Sun, 31 May 2020 10:19:55 -0700
Message-ID: <CAGQNLEUA_TyQfdbaz1aO1utAvb+L599VqjMPfkgBS38ZJ6q4dg@mail.gmail.com>
To: "Michael[tm] Smith" <mike@w3.org>
Cc: www-validator@w3.org
Thank you.

I have applied a filter for this warning to our script.

Joseph

On Sat, May 30, 2020 at 11:10 PM Michael[tm] Smith <mike@w3.org> wrote:

> Joseph Polizzotto MA <jpolizzotto@berkeley.edu>, 2020-05-30 20:23 -0700:
> > Archived-At: <
> https://www.w3.org/mid/CAGQNLEUYogWG606h25OOHSb+for0BpEdm9jEdoy3F6bvuBo_fQ@mail.gmail.com
> >
> > ...
> > While using the aria-label within <hr /> is probably not a very common
> use
> > case, it makes sense for the students for whom we are creating
> alternative
> > formats. Since some AT support that usage (our students primarily use
> JAWS)
> > is there another reason why the Nu-HTML checker should flag it as a
> warning?
>
> The sole reason the checker is flagging an hr with aria-label as a warning
> is that the guides I cited in my previous message don’t recommend using
> aria-label with hr. If those guides were to change that recommendation,
> then I would change the checker behavior.
>
> But note that the message is a warning, not an error. So it’s not saying
> that using aria-label with hr is non-conforming to the specs and that you
> must not use it. Instead it’s effectively saying that you should not use it
> unless you’re aware of the user effects.
>
> If you’d like to persistently ignore that warning (or any other message
> from
> the checker),
> https://github.com/validator/validator/wiki/Message-filtering
> describes the options available for doing that.
>
>   –Mike
>
> --
> Michael[tm] Smith https://people.w3.org/mike
>
-- 
*Alternate Media Supervisor*
Disabled Students' Program
University of California, Berkeley
https://dsp.berkeley.edu/
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdsp.berkeley.edu%2F&data=02%7C01%7C%7C4e0abffcb5b34567a22308d5e13137b3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636662523854357148&sdata=yB5%2BUm2W6TBwpc%2BOF4DvN8wPoo1dozUwz8eCepYhTyY%3D&reserved=0>
(510) 642-0329
Received on Sunday, 31 May 2020 17:20:19 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 31 May 2020 17:20:20 UTC