9 ms·
It is the same div soup for a screen reader, because there is no behavior attached to those new tags. They can not be a landmark, there are not marked as headin
by polydevil 2y ago
It is the same div soup for a screen reader, because there is no behavior attached to those new tags.
They can not be a landmark, there are not marked as headings, they have no roles.
Just a container with a text.
And to attach the behavior you need to use javascript.
So without js it wont work.
Why bother and try yo create half-baked non working solution if you can just use html?
Well, it easier to style, maybe. But hey, there is a class attribute.
- emseetech 2y agoCustom elements are for when semantic elements run out, don't apply or are unnecessary. Semantic elements are always preferred.