Skip to content

v1.0.1

Compare
Choose a tag to compare
@markteekman markteekman released this 13 Aug 08:08
7a64566

Small patch concerning some accessibility improvements

Thanks to Sander Nijsingh-Lankhorst from Cardan Technobility for pointing out some improvements on the initial release, including:

  • Removing landmark roles, this is a now redundant fallback method for HTML4, HTML5 tags are fully supported nowadays.
    -- Removed role="banner" from header
    -- Removed role="main" from main
    -- Removed role="contentinfo" from footer
  • A skip link to the main navigation is not necessary when the first tabbable item is the main menu (it is now commented out, you can still use it for those cases when you do need to skip content before the main menu)
  • Removed <strong> tags from the index.astro example, as screen readers put emphasis on these sort of tags