Skip to content

Commit

Permalink
set aria role
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Sep 23, 2019
1 parent 72b08a0 commit aeb1f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.gphFieldPicker__button--disabled {
color: $euiTextColor;
color: $euiColorMediumShade;
cursor: not-allowed !important;

&:hover,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function FieldPicker({ fieldMap, selectField, deselectField }: FieldPicke
})}
color="hollow"
iconType="plusInCircleFilled"
aria-disabled={!hasFields}
onClick={() => {
if (hasFields) {
setOpen(true);
Expand Down

0 comments on commit aeb1f1a

Please sign in to comment.