== aria-pressed ==
```
Error: An input element with a type attribute whose value is checkbox and with a role attribute whose value is button must have an aria-pressed attribute whose value is true.
From line 48, column 78; to line 48, column 186
-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div c
```
- https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/Linker.php$1689
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/includes/Linker.php#1689
- https://github.com/wikimedia/mediawiki/blob/master/includes/Linker.php#L1689
```
. Html::element( 'input', [
'type' => 'checkbox',
'role' => 'button',
'id' => 'toctogglecheckbox',
'class' => 'toctogglecheckbox',
'style' => 'display:none',
] )
```
Perhaps this be:
```
. Html::element( 'input', [
'type' => 'checkbox',
'role' => 'button',
'id' => 'toctogglecheckbox',
'class' => 'toctogglecheckbox',
'style' => 'display:none',
'aria-pressed' => 'true',
] )
```
Also see:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#technical_summary
- source of validation error: https://validator.nu/?doc=https://moasspedia.org/wiki/List_of_ape-made_music
== A link element must not appear as a descendant of a body element ==
```
Error: A link element must not appear as a descendant of a body element unless the link element has an itemprop attribute or has a rel attribute whose value contains dns-prefetch, modulepreload, pingback, preconnect, prefetch, preload, prerender, or stylesheet.
From line 2425, column 124; to line 2425, column 200
nce-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r844"/><cite
```
- https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/parser/ParserOutput.php$543
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/includes/parser/ParserOutput.php#543
- https://github.com/wikimedia/mediawiki/blob/master/includes/parser/ParserOutput.php#L543
```
// We were going to use an empty <style> here, but there
// was concern that would be too much overhead for browsers.
// So let's hope a <link> with a non-standard rel and href isn't
// going to be misinterpreted or mangled by any subsequent processing.
return Html::element( 'link', [
'rel' => 'mw-deduplicated-inline-style',
'href' => "mw-data:" . wfUrlencode( $key ),
] );
```