3 ms·
I've been using `dialog` and `details` of late, and couldn't be happier. At the same time, `section`, `article`, `header` and `footer` confuse me a lot. I've st
by bingemaker 3y ago
I've been using `dialog` and `details` of late, and couldn't be happier. At the same time, `section`, `article`, `header` and `footer` confuse me a lot. I've stopped using them.
- flagrant_taco 3y agoSection and article really don't add any value, but header and footer elements are used as landmarks by adjustive technologies like screen readers
- troupo 3y ago> Section and article really don't add any value They are nice hints to assistive technologies and reader mode.
- flagrant_taco 3y agoYep that's totally fair! I'm not 100% sure if assistive technologies use section and article for any end user context like "jump to content", but they at least can be used to get more context than just another div Reader mode is one I don't think about enough. I could see that purposely hiding content outside of the article element.
- troupo 3y agoYeah, Reader mode is weird. I know it prioritises semantic tags like article, but since the behaviours are not standardised, I never know what will and will not work.