1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Improved accessibility for IE users (#1222)

> The <main> element is widely supported. For Internet Explorer 11 and lower, it's suggested that an ARIA role of "main" be added to the <main> element to ensure it is accessible (screen readers like JAWS, used in combination with older versions of Internet Explorer, understand the semantic meaning of the <main> element when this role attribute is included).

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main#Browser_compatibility
This commit is contained in:
Christian Oliff 2019-08-23 17:59:23 +09:00 committed by Martin Donath
parent 0a93a26364
commit ec9a9a62b0

View File

@ -255,7 +255,7 @@
{% endif %}
<!-- Main container -->
<main class="md-main">
<main class="md-main" role="main">
<div class="md-main__inner md-grid" data-md-component="container">
<!-- Navigation -->