Merge "templates: Remove role deprecation HTML comments"
This commit is contained in:
commit
c6f92d6ae8
@ -2,7 +2,6 @@
|
|||||||
See @typedef MenuDefinition
|
See @typedef MenuDefinition
|
||||||
}}
|
}}
|
||||||
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
||||||
<!-- Please do not use role attribute as CSS selector, it is deprecated. -->
|
|
||||||
<nav id="{{id}}" {{#class}}class="{{.}}"{{/class}} aria-labelledby="{{id}}-label" role="navigation" {{{html-tooltip}}}
|
<nav id="{{id}}" {{#class}}class="{{.}}"{{/class}} aria-labelledby="{{id}}-label" role="navigation" {{{html-tooltip}}}
|
||||||
{{{html-user-language-attributes}}}>
|
{{{html-user-language-attributes}}}>
|
||||||
{{#is-dropdown}}
|
{{#is-dropdown}}
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
{{>Navigation}}
|
{{>Navigation}}
|
||||||
<div class="mw-content-container">
|
<div class="mw-content-container">
|
||||||
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
||||||
<!-- Please do not use role attribute as CSS selector, it is deprecated. -->
|
|
||||||
<main id="content" class="mw-body" role="main">
|
<main id="content" class="mw-body" role="main">
|
||||||
<a id="top"></a>
|
<a id="top"></a>
|
||||||
<div id="siteNotice" class="mw-body-content">{{{html-site-notice}}}</div>
|
<div id="siteNotice" class="mw-body-content">{{{html-site-notice}}}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user