mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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:
parent
0a93a26364
commit
ec9a9a62b0
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user