Skip to content

Commit 512a5bd

Browse files
wKozamgechev
authored andcommitted
fix(rule): fix spelling error (#753)
1 parent d4ebad8 commit 512a5bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/templateAccessibilityTabindexNoPositiveRule.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ import { getAttributeValue } from './util/getAttributeValue';
77

88
export class Rule extends Rules.AbstractRule {
99
static readonly metadata: IRuleMetadata = {
10-
description: 'Ensures that the tab index is not positive',
10+
description: 'Ensures that the tabindex attribute is not positive',
1111
options: null,
1212
optionsDescription: 'Not configurable.',
13-
rationale: 'positive values for tabidex attribute should be avoided because they mess up with the order of focus (AX_FOCUS_03)',
13+
rationale: 'positive values for tabindex attribute should be avoided because they mess up with the order of focus (AX_FOCUS_03)',
1414
ruleName: 'template-accessibility-tabindex-no-positive',
1515
type: 'functionality',
1616
typescriptOnly: true
1717
};
1818

19-
static readonly FAILURE_MESSAGE = 'Tabindex cannot be positive';
19+
static readonly FAILURE_MESSAGE = 'tabindex attribute cannot be positive';
2020

2121
apply(sourceFile: SourceFile): RuleFailure[] {
2222
return this.applyWithWalker(

0 commit comments

Comments
 (0)