Skip to content

Commit d70828e

Browse files
committed
Added color to the input type list. This resolves #210.
1 parent b163712 commit d70828e

File tree

1 file changed

+1
-1
lines changed
  • Standards/WCAG2AAA/Sniffs/Principle4/Guideline4_1

1 file changed

+1
-1
lines changed

Standards/WCAG2AAA/Sniffs/Principle4/Guideline4_1/4_1_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle4_Guideline4_1_4_1_2 = {
172172
textarea: ['label', '@title', '@aria-label', '@aria-labelledby']
173173
}
174174

175-
var html5inputTypes = ['email', 'search', 'date', 'datetime-local', 'month', 'number', 'tel', 'time', 'url', 'week', 'range'];
175+
var html5inputTypes = ['email', 'search', 'date', 'datetime-local', 'month', 'number', 'tel', 'time', 'url', 'week', 'range', 'color'];
176176
for (var i = 0, l = html5inputTypes.length; i < l; i++) {
177177
requiredNames['input_'+html5inputTypes[i]] = ['label', '@title', '@aria-label', '@aria-labelledby'];
178178
}

0 commit comments

Comments
 (0)