Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/legend/_legend_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $legendItemVerticalPadding: $echLegendRowGap / 2;
}

&:hover {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should actually only get background color on :focus. Leaving the underline as the hover state.

Suggested change
&:hover {
&:focus {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, at the moment we don't have accessible interactions on the legend and thus focus would do nothing. This will be revisited in #580.

Are you ok with it being hover until then?

background-color: #e7f0f7;
background-color: $euiFocusBackgroundColor;
Comment thread
nickofthyme marked this conversation as resolved.
Outdated
}

&__action {
Expand Down