Commit cec68e7 1 parent db919fc commit cec68e7 Copy full SHA for cec68e7
File tree 1 file changed +5
-3
lines changed
packages/components/src/color-picker
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export class Saturation extends Component {
150
150
home : ( ) => this . saturate ( - 1 ) ,
151
151
} ;
152
152
153
- /* eslint-disable jsx-a11y/no-static-element-interactions */
153
+ /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/no-noninteractive-element-interactions */
154
154
return (
155
155
< KeyboardShortcuts shortcuts = { shortcuts } >
156
156
< div
@@ -159,7 +159,9 @@ export class Saturation extends Component {
159
159
ref = { this . container }
160
160
onMouseDown = { this . handleMouseDown }
161
161
onTouchMove = { this . handleChange }
162
- onTouchStart = { this . handleChange } >
162
+ onTouchStart = { this . handleChange }
163
+ role = "application"
164
+ >
163
165
< div className = "components-color-picker__saturation-white" />
164
166
< div className = "components-color-picker__saturation-black" />
165
167
< button
@@ -179,7 +181,7 @@ export class Saturation extends Component {
179
181
</ div >
180
182
</ KeyboardShortcuts >
181
183
) ;
182
- /* eslint-enable jsx-a11y/no-static-element-interactions */
184
+ /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/no-noninteractive-element-interactions */
183
185
}
184
186
}
185
187
You can’t perform that action at this time.
0 commit comments