@marko/language-server 1.4.17 → 1.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +42 -40
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +42 -40
- package/dist/index.mjs.map +2 -2
- package/dist/service/html/axe-rules/rule-exceptions.d.ts +9 -0
- package/package.json +2 -2
|
@@ -3,8 +3,17 @@ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (
|
|
|
3
3
|
type AllRules = UnionToIntersection<(typeof r)[keyof typeof r]>;
|
|
4
4
|
type RuleId = AllRules[keyof AllRules];
|
|
5
5
|
export interface Exceptions {
|
|
6
|
+
/**
|
|
7
|
+
* Exclude if the listed attributes have a dynamic value
|
|
8
|
+
*/
|
|
6
9
|
dynamicAttrs?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Exclude if the tag has a spread attribute
|
|
12
|
+
*/
|
|
7
13
|
attrSpread?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Exclude if the body content can't be determined
|
|
16
|
+
*/
|
|
8
17
|
unknownBody?: boolean;
|
|
9
18
|
}
|
|
10
19
|
type Blacklist = typeof r.structure.frameTested | typeof r.aria.ariaRequiredParent | typeof r.forms.label | typeof r.forms.labelTitleOnly | typeof r.forms.selectName | typeof r.keyboard.bypass | typeof r.keyboard.nestedInteractive | typeof r.keyboard.region | typeof r.semantics.headingOrder | typeof r.semantics.landmarkBannerIsTopLevel | typeof r.semantics.landmarkComplementaryIsTopLevel | typeof r.semantics.landmarkContentinfoIsTopLevel | typeof r.semantics.landmarkMainIsTopLevel | typeof r.semantics.landmarkOneMain | typeof r.semantics.pageHasHeadingOne | typeof r.structure.dlitem | typeof r.structure.listitem | typeof r.tables.tdHeadersAttr | typeof r.aria.ariaRoledescription | typeof r.aria.ariaValidAttr | typeof r.color.colorContrast | typeof r.color.colorContrastEnhanced | typeof r.color.linkInTextBlock | typeof r.keyboard.scrollableRegionFocusable | typeof r.parsing.duplicateId | typeof r.parsing.duplicateIdActive | typeof r.parsing.duplicateIdAria | typeof r.sensoryAndVisualCues.targetSize | typeof r.structure.avoidInlineSpacing | typeof r.aria.ariaValidAttrValue | typeof r.aria.ariaAllowedAttr | typeof r.structure.cssOrientationLock | typeof r.keyboard.focusOrderSemantics | typeof r.structure.hiddenContent | typeof r.semantics.labelContentNameMismatch | typeof r.semantics.pAsHeading | typeof r.tables.tableFakeCaption | typeof r.tables.tdHasHeader;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/language-server",
|
|
3
3
|
"description": "Marko Language Server",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.19",
|
|
5
5
|
"bin": {
|
|
6
6
|
"marko-language-server": "./bin.js"
|
|
7
7
|
},
|
|
8
8
|
"bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@luxass/strip-json-comments": "^1.4.0",
|
|
11
|
-
"@marko/language-tools": "^2.5.
|
|
11
|
+
"@marko/language-tools": "^2.5.18",
|
|
12
12
|
"@marko/babel-utils": "^6.6.3",
|
|
13
13
|
"@marko/compiler": "^5.39.11",
|
|
14
14
|
"htmljs-parser": "^5.5.3",
|