-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ For å sikre god lesbarhet skal all tekst ha tilstrekkelig kontrast mot bakgrunn | |
|
||
Alle brukerne, også de med svekket syn, skal kunne se innholdet i digitale tjenester. Web Content Accessibility Guidelines (WCAG) inneholder suksesskriterier og forslag til løsninger for å lykkes. Men det er ikke samsvar mellom dagens kontrastregler og kravet om at alle skal kunne se innholdet. | ||
|
||
<Card color='brand3'> | ||
<Card color='brand3' data-unstyled> | ||
<Heading | ||
level={3} | ||
size='xs' | ||
|
@@ -60,7 +60,7 @@ Alle brukerne, også de med svekket syn, skal kunne se innholdet i digitale tjen | |
|
||
<br /> | ||
|
||
<Card color='brand2'> | ||
<Card color='brand2' data-unstyled> | ||
<Heading | ||
level={3} | ||
size='xs' | ||
|
@@ -123,7 +123,7 @@ Vi vet at selv om en løsning oppfyller de konkrete kravene fra regelverket om u | |
|
||
Hvis vi oppfyller metoden i WCAG 2, etterlever vi teknisk sett kravet til universell utforming, men det betyr ikke at innholdet er tilgjengelig eller universelt utformet. Derfor strekker vi oss langt i å også oppfylle de fremtidige WCAG-3 kravene som bruker APCA-metoden. | ||
|
||
<Card color='brand3'> | ||
<Card color='brand3' data-unstyled> | ||
**Kontrast i WCAG 2 «luminosity contrast algorithm** <br /> | ||
_«I WCAG 2 er kontrast en måleenhet for forskjellen i den opplevde lysintensiteten | ||
mellom to farger. Denne forskjellen er beskrevet som et forhold fra 1:1 (for | ||
|
@@ -135,7 +135,7 @@ Hvis vi oppfyller metoden i WCAG 2, etterlever vi teknisk sett kravet til univer | |
|
||
<br /> | ||
|
||
<Card color='brand2'> | ||
<Card color='brand2' data-unstyled> | ||
**Kontrast i WCAG 3 «visual contrast algorithm»** <br />I WCAG 3 benyttes en | ||
visuell-kontrast algoritme som kalles for APCA, det er fremdeles | ||
fargeverdiene som benyttes for å kalkulere kontrasten, men også om fargen er | ||
|
@@ -175,7 +175,7 @@ I variant B er teksten svart, og bakgrunnen er farge #6D7879. Teksten er noe min | |
|
||
<br /> | ||
<br /> | ||
<Card color='brand1'> | ||
<Card color='brand1' data-unstyled> | ||
**Bidra til artikkelen?** <br /> | ||
Vi vil gjerne ha dine innspill og tilbakemeldinger på artikkelen. Send oss en | ||
e-post på: [email protected] eller [kontakt oss i Github](https://github.com/digdir/designsystemet/issues/new). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ | |
place-items: center; | ||
width: 100%; | ||
height: var(--ds-sizing-12); | ||
position: relative; | ||
z-index: 100; | ||
} |