From: Wouter Admiraal Date: Fri, 30 Sep 2022 13:08:40 +0000 (+0200) Subject: SONAR-16830 [892932] State of active component lacks 3 to 1 contrast ratio X-Git-Tag: 9.7.0.61563~132 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=689272a3ef41e55614c8bd254bccff99945e24eb;p=sonarqube.git SONAR-16830 [892932] State of active component lacks 3 to 1 contrast ratio --- diff --git a/server/sonar-web/src/main/js/app/components/search/SearchResult.tsx b/server/sonar-web/src/main/js/app/components/search/SearchResult.tsx index ff444714d01..31a39057c5d 100644 --- a/server/sonar-web/src/main/js/app/components/search/SearchResult.tsx +++ b/server/sonar-web/src/main/js/app/components/search/SearchResult.tsx @@ -43,13 +43,13 @@ export default class SearchResult extends React.PureComponent { const to = getComponentOverviewUrl(component.key, component.qualifier); return ( -
  • this.props.innerRef(component.key, node)} - role="option" - aria-selected={this.props.selected}> - +
  • this.props.innerRef(component.key, node)}> +
    diff --git a/server/sonar-web/src/main/js/app/components/search/SearchResults.tsx b/server/sonar-web/src/main/js/app/components/search/SearchResults.tsx index c0ccf411c86..66160c2dd13 100644 --- a/server/sonar-web/src/main/js/app/components/search/SearchResults.tsx +++ b/server/sonar-web/src/main/js/app/components/search/SearchResults.tsx @@ -45,7 +45,7 @@ export default function SearchResults(props: Props): React.ReactElement { const more = props.more[qualifier]; renderedComponents.push( -