diff --git a/.github/ISSUE_TEMPLATE/rules-issue-template.md b/.github/ISSUE_TEMPLATE/rules-issue-template.md index 54d7c5fd887..d3cab5eed18 100644 --- a/.github/ISSUE_TEMPLATE/rules-issue-template.md +++ b/.github/ISSUE_TEMPLATE/rules-issue-template.md @@ -4,10 +4,7 @@ about: issues related with ACT Rules title: '' labels: '' assignees: '' - ---- - -Please describe the issue with references and relevant examples where necessary. +---Please describe the issue with references and relevant examples where necessary. --- or --- diff --git a/__tests__/spelling-ignore.yml b/__tests__/spelling-ignore.yml index 85d7b20914d..a9106eec1f6 100644 --- a/__tests__/spelling-ignore.yml +++ b/__tests__/spelling-ignore.yml @@ -136,7 +136,7 @@ - ozplayer - GitHub -# Test case anamolies +# Test case anomalies - brewitt-taylor - level2-frame1 - level1-frame2 @@ -146,6 +146,9 @@ - Sumei - Tuttle - lnik # intentional misspelling +- ngizmo +- nspecification +- thelabel # Attributes (repeated words with casing as retext-spell has no config to ignore casing) - href @@ -177,6 +180,9 @@ - x1 - y1 +# HTML character references +- nbsp + # DOM Events - auxclick - compostionend @@ -243,6 +249,12 @@ - disambiguated - superclass - grey +- substring +- initialisms +- sublist +- tokenize +- tokenized +- subsequence # Parts of Unicode - 000A @@ -252,6 +264,8 @@ - 4E00 - 9FFF - 4E00–9FFF +- 00A0 +- KD # JSON attributes/ metadata/ methods - examples diff --git a/__tests__/spelling.js b/__tests__/spelling.js index c5f09b69197..6a6a420e7d4 100755 --- a/__tests__/spelling.js +++ b/__tests__/spelling.js @@ -109,7 +109,9 @@ function getCuratedMarkdownBody(body, options = {}) { * @returns {String[]} */ function getSpellIgnored() { - const ignoreConfigured = yaml.load(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), {schema: yaml.FAILSAFE_SCHEMA}) //added schema due to entries starting with a non-zero digit + const ignoreConfigured = yaml.load(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), { + schema: yaml.FAILSAFE_SCHEMA, + }) //added schema due to entries starting with a non-zero digit /* Building spelling exception in the shape FOOxxx where xxx is a number. diff --git a/_rules/focusable-no-keyboard-trap-standard-nav-a1b64e.md b/_rules/focusable-no-keyboard-trap-standard-nav-a1b64e.md index 9ed44c9b6c5..10a546fcdbc 100755 --- a/_rules/focusable-no-keyboard-trap-standard-nav-a1b64e.md +++ b/_rules/focusable-no-keyboard-trap-standard-nav-a1b64e.md @@ -88,43 +88,43 @@ use [standard keyboard navigation](#standard-keyboard-navigation) using the Esca ```html
Main page content with some link
``` diff --git a/_rules/presentational-children-no-focusable-content-307n5z.md b/_rules/presentational-children-no-focusable-content-307n5z.md index 1231ffd4c66..6c2d285c774 100755 --- a/_rules/presentational-children-no-focusable-content-307n5z.md +++ b/_rules/presentational-children-no-focusable-content-307n5z.md @@ -43,7 +43,7 @@ This rule assumes that elements that are part of [sequential focus navigation][] Several major browsers ignore the WAI-ARIA requirements on [presentational children][] for most or sometimes all roles, or in presence of focusable content. Since some browsers implement presentational children while others do not, pages failing this rule may only be problematic with some browsers. -This rule is often misunderstood as applying to elements with an _explicit_ role of `presentation`. In fact, this rule only applies to elements which have been given an _implicit_ role of `presentation` through the [presentational children][] mechanism. Similarly, this rule does not apply to elements with `aria-hidden="true"`. +This rule is often misunderstood as applying to elements with an _explicit_ role of `presentation`. In fact, this rule only applies to elements which have been given an _implicit_ role of `presentation` through the [presentational children][] mechanism. Similarly, this rule does not apply to elements with `aria-hidden="true"`. ### Related rules @@ -97,13 +97,12 @@ This element with the `menuitemcheckbox` role has an `input` element as a descen #### Passed Example 4 -This ` ``` - ### Failed #### Failed Example 1 @@ -140,7 +139,7 @@ This element with the `menuitemcheckbox` role has a checkbox as a child. Because #### Failed Example 4 -This element with the `tab` role contains an `a` element. The `tab` role has [presentational children][]. The `a` element is included in [sequential focus navigation][]. So the element with the `tab` role fails the rule. (This tablist implementation is non-functional for users. It's not meant to function - it's only meant to show roles.) +This element with the `tab` role contains an `a` element. The `tab` role has [presentational children][]. The `a` element is included in [sequential focus navigation][]. So the element with the `tab` role fails the rule. (This tablist implementation is non-functional for users. It's not meant to function - it's only meant to show roles.) ```html