Skip to content

Commit

Permalink
chore(suiteheader and headeraction): fix accessibility scan violations
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyanixraut committed Jun 22, 2023
1 parent fef8ec6 commit 2696413
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/Header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $hoverBgColor: #2c2c2c;
}
}

&__menu-title[role='menuitem'][aria-expanded='true'] + &__menu {
&__menu-title[data-testid='menuitem'][aria-expanded='true'] + &__menu {
left: auto;
right: 0;
[dir='rtl'] & {
Expand Down Expand Up @@ -166,7 +166,7 @@ $hoverBgColor: #2c2c2c;
}

.#{$prefix}--header__menu-item {
&[role='menuitem'] {
&[data-testid='menuitem'] {
height: 100%;
justify-content: center;
padding: 0;
Expand All @@ -182,7 +182,7 @@ $hoverBgColor: #2c2c2c;
}
}

.#{$prefix}--header__menu .#{$prefix}--header__menu-item[role='menuitem'] {
.#{$prefix}--header__menu .#{$prefix}--header__menu-item[data-testid='menuitem'] {
display: flex;
align-items: center;
color: $active-ui;
Expand Down

0 comments on commit 2696413

Please sign in to comment.