Skip to content

Commit 6d80f65

Browse files
committed
chore: cite W3C ARIA APG instead of MDN
1 parent 2f96a82 commit 6d80f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/rules/template-no-nested-landmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ruleTester.run('template-no-nested-landmark', rule, {
4545

4646
// `<section>` only gets the `region` landmark role when it has an accessible name
4747
// (aria-label/aria-labelledby/title). Without one it has the generic role — see
48-
// https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/section.
48+
// https://www.w3.org/WAI/ARIA/apg/patterns/landmarks/examples/HTML5.html.
4949
// This rule does not inspect accessible names, so unnamed sections are excluded.
5050
'<template><section><section>Content</section></section></template>',
5151
// `role="region"` is the landmark role a named `<section>` gets. Nesting it is

0 commit comments

Comments
 (0)