Skip to content

Commit

Permalink
Role status på søk-oppsummering (wcag) (#114)
Browse files Browse the repository at this point in the history
* role status on search-result

* Ikke rendr statuslinje når det ikke er søk. da blir det dobbelt gap.

* minimum endring
  • Loading branch information
peterbb authored Jan 4, 2023
1 parent fbf05b4 commit 3815896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bedriftsmeny/velger/Virksomhetsvelger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Velger = () => {
</Button>
</div>
{søketekst.length > 0 && (
<Detail aria-live="polite">
<Detail role="status">
{antallTreff === 0 ? 'Ingen' : antallTreff} treff på "{søketekst}"
</Detail>
)}
Expand Down

0 comments on commit 3815896

Please sign in to comment.