3 ms·
> <ol>. Why is it better? For screen readers? A sentence to illustrate goes a long way. It's better because it means it's a list of something in order, as oppo
by MrVandemar 2y ago
> <ol>. Why is it better? For screen readers? A sentence to illustrate goes a long way.
It's better because it means it's a list of something in order, as opposed to a definition list or an unordered list. The distinctions are important.
It means, for example, that you can meaningfully skip to the middle of an ordered list of the 100 tallest buildings, and be guaranteed to be looking at the 50th tallest building.
- tstrimple 2y agoYou're technically not guaranteed to have ordering. You can put an ordered list into any order you want. But semantically it indicates that the order of the list matters. I like the semantic model, but it can easily be abused and not mean anything at all.