Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1434 from navikt/fix-context-aria-roles
Browse files Browse the repository at this point in the history
Fjerner role=menubar fra arbeidsflatemeny
  • Loading branch information
PerOlavM authored May 9, 2023
2 parents 4f7694b + c0d2a56 commit 9751c48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ const Arbeidsflatemeny = () => {

return (
<div className={'arbeidsflate'} id={'arbeidsflate'}>
<ul className={style.toppListeRad} aria-label="Velg brukergruppe" role="menubar">
<ul className={style.toppListeRad} aria-label="Velg brukergruppe">
{arbeidsflateLenker(XP_BASE_URL).map((lenke, index) => {
return (
<li role="none" className={style.listeElement} key={lenke.key}>
<li className={style.listeElement} key={lenke.key}>
<LenkeMedSporing
aria-current={arbeidsflate === lenke.key ? 'page' : 'false'}
role="menuitem"
Expand Down

0 comments on commit 9751c48

Please sign in to comment.