Re: Nu-HTML warning - Aria-label with horizontal rule?
"Michael[tm] Smith" <[email protected]> Sun, 31 May 2020 07:49:46 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
--H7G8UhBuWJ9AoGD+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable https://www.w3.org/TR/using-aria/#practical-support-aria-label-aria-labelle= dby-and-aria-describedby and https://developer.paciellogroup.com/blog/2017/07/short-note-on-aria-lab= el-aria-labelledby-and-aria-describedby/ are what was used as guidance in determining what the checker should warn a= bout. Note, in the later document, this general comment: > If you use aria-label, aria-labelledby, or aria-describedby with any > other elements (like div, span, p, blockquote, or strong etc.), they > generally won=E2=80=99t work across all browser/assistive technology > combinations. Neither of those documents list the hr element as being one that aria-label should be used with. So I think the problem you would run into with using aria-label with hr in the way you=E2=80=99ve described is that you=E2=80=99ll end up finding out = it=E2=80=99s not being announced as expected by current AT software. =E2=80=93Mike Joseph Polizzotto MA <[email protected]>, 2020-05-29 11:00 -0700: > Archived-At: <https://www.w3.org/mid/CAGQNLEUhv84_M0ABjs9amLFPCb8rn8pBqoJ= [email protected]> >=20 > In our work within disability services, we are trying to develop a method > in HTML which will help our students distinguish secondary text content > from primary text content. >=20 > One thought we had was to use the horizontal rule between these two areas > and to announce to the screen reader user the beginning of "extra content= ". > This way the student can jump over that content if they wish. >=20 > Would it be possible to use an aria-label inside a horizontal rule without > receiving a warning message with the Nu-HTML checker? >=20 > I have attached a file. >=20 > Thank you, >=20 > Joseph --=20 Michael[tm] Smith https://people.w3.org/mike --H7G8UhBuWJ9AoGD+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE1IdYVkFeY5ZNh0RRh9F0d7w6S5UFAl7S4woACgkQh9F0d7w6 S5XyXA//fH65BsCqV8ZOWVwliD2T/f4iEFaOSx3NGkOnAzSThjOjX5if92y6lRi2 kaVHNHKPNrmWRTSAEN0NZOvHyojilJuNB21C7At1h1BLRBAofMWFPm48J5OWsMS4 R7YkPe9OZcUZW1NtreH7p+4LhAmXXBiK8MipnLpKplmMva65q72Le9eb4eF68OlM qpQ3nCKXsfF0DDjNpbM3AxT8Sfh2JhqbcATr1kw1RqgcvXSU7QjCo2PnfwEirWH0 aRov0uEIyf46h9h2wsSV8+UvlWBkRzrUm/3VIrkv5oWrXA3oOEi4f+fZHrG05sAV S/R4BQCeBpdACx2qijms/BoNOFMIQerrEhKLSAhccn7/320ldtwuz69m8Nf6mFb3 eBZoKz+7v8jggnhLaTLbtc0UIKUkiStt1nuPj11zPWeCJaUS2zyPSa19aLANPCTQ yIH+BZHlCDaAyitxng2DJTps4ykX/jDaqyVYoF9hpyt2biXBlryLSD2Vv+zQX1v+ oUYiAUC+pEbDXDiQITKALPttWyiO5yXL+A0aJviq39M3OGxR6XUxYZa2x5O3MdCe nLHkdZT9dNG7yA7n0/ykWo0qGnL1E9kfQ4yQ8UIvTFYrFutQ2wL9gcQ4KIr3467f wlmiIhG/OWv61Yfkv3LSsGFaH5vvrE1WLadh/yIaSGvHBXnUZyg= =ZiOS -----END PGP SIGNATURE----- --H7G8UhBuWJ9AoGD+--