Re: Nu-HTML warning - Aria-label with horizontal rule?
Joseph Polizzotto MA <[email protected]> Sun, 31 May 2020 10:19:55 -0700
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <CAGQNLEUA_TyQfdbaz1aO1utAvb+L599VqjMPfkgBS38ZJ6q4dg@mail.gmail.com> |
--000000000000bafee005a6f4e34c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 <[email protected]> wrote: > Joseph Polizzotto MA <[email protected]>, 2020-05-30 20:23 -0700: > > Archived-At: < > https://www.w3.org/mid/CAGQNLEUYogWG606h25OOHSb+for0BpEdm9jEdoy3F6bvuBo_f= [email protected] > > > > ... > > 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 warnin= g > is that the guides I cited in my previous message don=E2=80=99t 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=E2=80=99s not= saying > that using aria-label with hr is non-conforming to the specs and that you > must not use it. Instead it=E2=80=99s effectively saying that you should = not use it > unless you=E2=80=99re aware of the user effects. > > If you=E2=80=99d like to persistently ignore that warning (or any other m= essage > from > the checker), > https://github.com/validator/validator/wiki/Message-filtering > describes the options available for doing that. > > =E2=80=93Mike > > -- > Michael[tm] Smith https://people.w3.org/mike > --=20 *Alternate Media Supervisor* Disabled Students' Program University of California, Berkeley https://dsp.berkeley.edu/ <https://nam02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdsp.be= rkeley.edu%2F&data=3D02%7C01%7C%7C4e0abffcb5b34567a22308d5e13137b3%7C84df9e= 7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636662523854357148&sdata=3DyB5%2BUm2W6= TBwpc%2BOF4DvN8wPoo1dozUwz8eCepYhTyY%3D&reserved=3D0> (510) 642-0329 --000000000000bafee005a6f4e34c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><div dir=3D"auto">Thank you.=C2=A0</div><div dir=3D"auto"><br></div><d= iv dir=3D"auto">I have applied a filter for this warning to our script.</di= v><div dir=3D"auto"><br></div><div dir=3D"auto">Joseph</div></div><div><br>= <div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Ma= y 30, 2020 at 11:10 PM Michael[tm] Smith <<a href=3D"mailto:[email protected]"= >[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid= ;padding-left:1ex;border-left-color:rgb(204,204,204)">Joseph Polizzotto MA = <<a href=3D"mailto:[email protected]" target=3D"_blank">jpolizzot= [email protected]</a>>, 2020-05-30 20:23 -0700:<br> > Archived-At: <<a href=3D"https://www.w3.org/mid/CAGQNLEUYogWG606h25= [email protected]" rel=3D"noreferrer" target= =3D"_blank">https://www.w3.org/mid/CAGQNLEUYogWG606h25OOHSb+for0BpEdm9jEdoy= [email protected]</a>><br> > ...<br> > While using the aria-label within <hr /> is probably not a very = common use<br> > case, it makes sense for the students for whom we are creating alterna= tive<br> > formats. Since some AT support that usage (our students primarily use = JAWS)<br> > is there another reason why the Nu-HTML checker should flag it as a wa= rning?<br> <br> The sole reason the checker is flagging an hr with aria-label as a warning<= br> is that the guides I cited in my previous message don=E2=80=99t recommend u= sing<br> aria-label with hr. If those guides were to change that recommendation,<br> then I would change the checker behavior.<br> <br> But note that the message is a warning, not an error. So it=E2=80=99s not s= aying<br> that using aria-label with hr is non-conforming to the specs and that you<b= r> must not use it. Instead it=E2=80=99s effectively saying that you should no= t use it<br> unless you=E2=80=99re aware of the user effects.<br> <br> If you=E2=80=99d like to persistently ignore that warning (or any other mes= sage from<br> the checker), <a href=3D"https://github.com/validator/validator/wiki/Messag= e-filtering" rel=3D"noreferrer" target=3D"_blank">https://github.com/valida= tor/validator/wiki/Message-filtering</a><br> describes the options available for doing that.<br> <br> =C2=A0 =E2=80=93Mike<br> <br> -- <br> Michael[tm] Smith <a href=3D"https://people.w3.org/mike" rel=3D"noreferrer"= target=3D"_blank">https://people.w3.org/mike</a><br> </blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" = data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><= div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div><b style=3D"font-famil= y:verdana,sans-serif;font-size:small;letter-spacing:0.2px">Alternate Media = Supervisor</b><br></div><div dir=3D"ltr"><div dir=3D"ltr" style=3D"color:rg= b(0,0,0);font-family:-webkit-standard;font-style:normal;font-weight:normal;= letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;= white-space:normal;word-spacing:0px;text-decoration:none"><div dir=3D"ltr">= <div><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt= r"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div= dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div><font size=3D"2" face= =3D"verdana,sans-serif">Disabled Students' Program</font></div><div><fo= nt size=3D"2" face=3D"verdana,sans-serif">University of California, Berkele= y</font></div><div><font size=3D"2" face=3D"verdana,sans-serif"><a href=3D"= https://nam02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdsp.ber= keley.edu%2F&data=3D02%7C01%7C%7C4e0abffcb5b34567a22308d5e13137b3%7C84d= f9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636662523854357148&sdata=3DyB5%= 2BUm2W6TBwpc%2BOF4DvN8wPoo1dozUwz8eCepYhTyY%3D&reserved=3D0" target=3D"= _blank">https://dsp.berkeley.edu/</a></font><br></div><div><font size=3D"2"= face=3D"verdana,sans-serif">(510) 642-0329<br></font></div></div></div></d= iv></div></div></div></div></div></div></div></div></div></div></div></div>= <div><br></div></div></div></div></div></div></div></div></div></div></div> --000000000000bafee005a6f4e34c--