Skip to content

Commit

Permalink
Added color to the input type list. This resolves squizlabs#210.
Browse files Browse the repository at this point in the history
  • Loading branch information
ironikart committed May 14, 2018
1 parent ecc339b commit 5584212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standards/WCAG2AAA/Sniffs/Principle4/Guideline4_1/4_1_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle4_Guideline4_1_4_1_2 = {
textarea: ['label', '@title', '@aria-label', '@aria-labelledby']
}

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

0 comments on commit 5584212

Please sign in to comment.