- From: Sarge Viktor RGS VS IT <Viktor.Sarge@regionhalland.se>
- Date: Sun, 15 Sep 2019 06:41:14 +0000
- To: "Jukka K. Korpela" <jukkakk@gmail.com>
- CC: "www-validator@w3.org" <www-validator@w3.org>
Received on Sunday, 15 September 2019 06:41:43 UTC
Thank you very much Yucca, this was it! Giving them a suitable role fixed the issue. Kind regards/Viktor 11 sep. 2019 kl. 16:08 skrev Jukka K. Korpela <jukkakk@gmail.com<mailto:jukkakk@gmail.com>>: Sarge Viktor RGS VS IT (Viktor.Sarge@regionhalland.se<mailto:Viktor.Sarge@regionhalland.se>) wrote: I’ve noticed that we get warnings when using aria-labels to explain what content a ul-element contains The warnings are indeed somewhat obscure, as they do not give a hint of what the problem really is, and they are warnings (not error messages) and say just ”Possible misuse”: Is there any element or attribute that cannot possibly be misused? But from I previous discussion on this líst, I found a reference to the page https://developer.paciellogroup.com/blog/2017/07/short-note-on-aria-label-aria-labelledby-and-aria-describedby/ It suggests that aria-label should only be used for some types of elements. Unless I’m missing something, <ul> might qualify ifyou assign a suitable role="..." to it (some landmark role, I suppose). Alternatively, the good old title="..." attribute might work. I don’t know about support to it in browsers, vs. support to various ARAIA attributes. Yucca Så behandlar Region Halland dina personuppgifter - https://www.regionhalland.se/dataskydd
Received on Sunday, 15 September 2019 06:41:43 UTC