File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ import { getAttributeValue } from './util/getAttributeValue';
7
7
8
8
export class Rule extends Rules . AbstractRule {
9
9
static readonly metadata : IRuleMetadata = {
10
- description : 'Ensures that the tab index is not positive' ,
10
+ description : 'Ensures that the tabindex attribute is not positive' ,
11
11
options : null ,
12
12
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)' ,
14
14
ruleName : 'template-accessibility-tabindex-no-positive' ,
15
15
type : 'functionality' ,
16
16
typescriptOnly : true
17
17
} ;
18
18
19
- static readonly FAILURE_MESSAGE = 'Tabindex cannot be positive' ;
19
+ static readonly FAILURE_MESSAGE = 'tabindex attribute cannot be positive' ;
20
20
21
21
apply ( sourceFile : SourceFile ) : RuleFailure [ ] {
22
22
return this . applyWithWalker (
You can’t perform that action at this time.
0 commit comments