File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ define( [
30
30
} ,
31
31
32
32
clearButton : function ( ) {
33
- return $ ( "<a href='#' tabindex='-1' " +
33
+ return $ ( "<a href='#' tabindex='-1' aria-hidden='true' " +
34
34
"class='ui-input-clear ui-btn ui-icon-delete ui-btn-icon-notext ui-corner-all'>" +
35
35
"</a>" )
36
36
. attr ( "title" , this . options . clearBtnText )
Original file line number Diff line number Diff line change 97
97
} ) ;
98
98
99
99
test ( "data-clear-btn adds clear button to text inputs" , function ( ) {
100
- ok ( $ ( '#text-input-clear-btn' ) . next ( ) . is ( 'a.ui-input-clear' ) , "data-clear-btn adds clear button to text inputs" ) ;
100
+ ok ( $ ( '#text-input-clear-btn' ) . next ( )
101
+ . is ( 'a.ui-input-clear[tabindex="-1"][aria-hidden="true"]' ) ,
102
+ "correctly marked up clear button is present" ) ;
101
103
} ) ;
102
104
103
105
test ( "data-clear-btn does not add clear button to textarea" , function ( ) {
You can’t perform that action at this time.
0 commit comments