Skip to content

Commit

Permalink
Improve accessibility for new selectize elements (focusing and moveme…
Browse files Browse the repository at this point in the history
…nt by keyboard)
  • Loading branch information
bago committed May 27, 2022
1 parent c2d9710 commit f25eed9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/css/style_elements_selectize.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
&.selectize-force-single-noadd .selectize-input {
cursor: default;
> input {
display: none !important;
// use opacity instead of display none for accessibility/focus/keyboard usage.
opacity: 0 !important;
position: absolute !important;
left: -1000px;
}
&.input-active {
cursor: inherit;
Expand Down

0 comments on commit f25eed9

Please sign in to comment.