#semantics
Tagged “semantics”
2 articlesAccessibility & semantics
Your `<nav>` label already says 'navigation'
Writing 'Primary navigation' on a `<nav>` makes a screen reader announce the word twice. The fix is to trust the landmark and let the label do its actual job.
Jun 26, 2026 · Marcus OseiAccessibility & semantics`headingoffset` is not the outline algorithm coming back
Firefox has shipped `headingoffset` behind a flag. It quietly fixes a real pain point for reusable components, but it is not, and cannot be, the long-abandoned Document Outline Algorithm in disguise.
Jun 22, 2026 · Marcus Osei