D web site and accessibility

aberba karabutaworld at gmail.com
Tue Sep 25 15:10:53 UTC 2018


On Monday, 24 September 2018 at 15:19:01 UTC, Chris wrote:
> On Monday, 24 September 2018 at 03:50:57 UTC, Vladimir 
> Panteleev wrote:
>> On Monday, 24 September 2018 at 03:16:50 UTC, Bauss wrote:
>>> like the use of b tags on the front page, they should be 
>>> replaced by strong tags
>>
>> The two usages of <b> are part of the presentation, not 
>> content. Their use is correct.
>
> HTML tags are usually fine. JS can cause problems. Some older 
> posts (in order of appearance):
>
> https://forum.dlang.org/post/avyxxydzbghsjmsucark@forum.dlang.org
> https://forum.dlang.org/post/arkvmtfljjtjpfrccqbu@forum.dlang.org
> https://forum.dlang.org/post/wcnwyqugkcqkkyeghccb@forum.dlang.org
>
> But I think browsers / screen reading software have improved a 
> lot in this regard. I dunno how react (native) and the like are 
> handled though.

Aside using semantic HTML elements like strong, em,... the 
WAI-ARIA standard follows. Also the use of title, alt and 
tab-index is also encouraged in forms (where necessary).

This article highlights some of the most important things to 
consider.
https://www.sitepoint.com/real-world-accessibility-html5-aria-and-the-modern-web/


More information about the Digitalmars-d mailing list