templates: Remove role deprecation HTML comments
Sending these comments to all users incurs small performance penalty on both sides. Further, the intended audience for the comments is vanishingly small when compared to all users and we have more direct avenues to contact that audience, i.e. the Technical Village Pump. Remove the HTML comments related to the deprecation of the role="navigation|main" attributes on the navigation and main elements. Bug: T281025 Change-Id: I4735c435fc31c5ba4fbf99e9d9bf12adc466b02f
This commit is contained in:
parent
402b01e0ca
commit
5998d82056
|
@ -2,7 +2,6 @@
|
|||
See @typedef MenuDefinition
|
||||
}}
|
||||
{{! `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}}}
|
||||
{{{html-user-language-attributes}}}>
|
||||
{{#is-dropdown}}
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
{{>Navigation}}
|
||||
<div class="mw-content-container">
|
||||
{{! `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">
|
||||
<a id="top"></a>
|
||||
<div id="siteNotice" class="mw-body-content">{{{html-site-notice}}}</div>
|
||||
|
|
Loading…
Reference in New Issue