-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split into content sections add links and images (#42)
- Loading branch information
Showing
15 changed files
with
182 additions
and
139 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import Link from "$lib/components/link.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
|
||
<Headline tag="h2">Allgemein</Headline> | ||
|
||
<StoredCheckbox key="auto-tests"> | ||
Alle automatischen Accessibility-Tests laufen durch | ||
</StoredCheckbox> | ||
|
||
<StoredCheckbox key="axe-chrome-extension" label="Axe Chrome Extension"> | ||
<Link href="https://chromewebstore.google.com/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd">Link</Link> | ||
</StoredCheckbox> | ||
<StoredCheckbox key="wave-chrome-extension" label="Wave Chrome Extension"> | ||
<Link href="https://chromewebstore.google.com/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh?hl=de">Link</Link> | ||
</StoredCheckbox> | ||
<StoredCheckbox key="lighthouse" label="Lighthouse (Accessibility)"> | ||
<Link href="assets/chrome-devtools.png"> | ||
<img src="assets/chrome-devtools.png" alt="Dev Console im Chrome" class="w-20" /> | ||
</Link> | ||
</StoredCheckbox> |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
<Headline tag="h2">Content</Headline> | ||
|
||
<StoredCheckbox key="button-a-label" | ||
label="`<button>`, `<a>` und `<label>` sind eindeutig und selbsterklärend" /> | ||
<StoredCheckbox key="h1-per-page" label="Es gibt nur eine `<h1>` pro Seite" /> |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
|
||
<Headline tag="h2">Formulare</Headline> | ||
|
||
<StoredCheckbox key="inputs-labels" label="Alle Inputs sind mit einem entsprechenden Label verbunden" /> | ||
<StoredCheckbox key="form-input-autocomplete" label="Form-Inputs unterstützen grundsätzlich Autovervollständigung" /> | ||
<StoredCheckbox key="input-errors" label="Eingabefehler werden direkt mit den entsprechenden Feldern assoziiert" /> |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
<Headline tag="h2">Bilder</Headline> | ||
|
||
<StoredCheckbox key="img-alt" label="Alle `<img>-Elemente` haben ein Alt-Attribut" /> | ||
<StoredCheckbox key="svg-aria-hidden" label="rein dekorative SVGs haben `aria-hidden="true"`" /> | ||
<StoredCheckbox key="img-svg-role" | ||
label="`<img>-Elemente` mit source SVG haben das role-Attribut `role="img"`" /> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
<Headline tag="h2">Tastatur</Headline> | ||
|
||
<StoredCheckbox key="keyboard-control" label="Tastatursteuerung muss komplett möglich sein" /> | ||
<StoredCheckbox key="interactive-elements-focus" | ||
label="Alle interaktiven Elemente müssen einen sichtbaren focustyle haben" /> | ||
<StoredCheckbox key="keyboard-focus-order" label="Keyboard-Focus-Reihenfolge gleicht der des visuellen Layouts" /> | ||
<StoredCheckbox key="no-invisible-focusable" label="Es gibt keine unsichtbaren fokusierbaren Elemente" /> | ||
<StoredCheckbox key="buttons-space-enter" label="Buttons können über Leertaste und Eingabetaste betätigt werden" /> | ||
<StoredCheckbox key="menus-overlays-esc" label="Menüs und Overlays können via ESC-Taste wieder geschlossen werden" /> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<script> | ||
import Link from "$lib/components/link.svelte"; | ||
import Headline from "$lib/components/headline.svelte"; | ||
</script> | ||
|
||
<Headline tag="h2">Links</Headline> | ||
|
||
<Link href="https://www.w3schools.com/accessibility/index.php">W3School Accessibility Tutorial</Link><br/> | ||
<Link href="https://developer.mozilla.org/en-US/docs/Learn/Accessibility">MDN Dev Docs: Accessibility</Link><br/> | ||
<Link href="https://www.w3.org/TR/WCAG20/">Web Content Accessibility Guidelines (WCAG)</Link><br/> | ||
<Link href="https://www.barrierefreiheit-dienstekonsolidierung.bund.de/Webs/PB/DE/barrierefreie_it/digitale-barrierefreiheit/digitale-barrierefreiheit-node.html"> | ||
Digitale Barrierefreiheit (Bundesministerium des Innern und für Heimat) | ||
</Link><br/> |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<script> | ||
import dedent from "dedent"; | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
import ShowCode from "$lib/components/show-code.svelte"; | ||
</script> | ||
<Headline tag="h2">Markup</Headline> | ||
|
||
<StoredCheckbox key="html-lang" label="`<html>-Tag` hat korrektes lang-Attribut"> | ||
<ShowCode slot="show-code" title="HTML mit 'lang-Attribute'">{@html dedent` | ||
<!doctype html> | ||
<!-- lang="language-COUNTRY" --> | ||
<html lang="de-DE"> | ||
<head></head> | ||
<body> | ||
... | ||
</body> | ||
</html> | ||
`}</ShowCode> | ||
</StoredCheckbox> | ||
|
||
<StoredCheckbox key="tabindex" label="Es gibt bei tabindex nur 0 oder -1"> | ||
<ShowCode slot="show-code" title="'tabindex' mit 0 oder -1">{@html dedent` | ||
<a href="url" tabindex="-1">Ich bin ein Link</a><br /> | ||
<input type="text" tabindex="0" /> | ||
`}</ShowCode> | ||
</StoredCheckbox> | ||
<StoredCheckbox key="a-tag" label="`<a>-Tag` wird für alle Links verwendet -> Seitenwechseln" /> | ||
<StoredCheckbox key="button-tag" | ||
label="`<button>-Tag` wird für alle Buttons, Klick- und Action-Flächen genutzt (kein div mit onclick etc.)" /> | ||
<StoredCheckbox | ||
key="ul-ol-tags" | ||
label="Wenn ein `<ol>`- oder `<ul>-Element` vorhanden ist, sollte es mindestens ein `<li>-Element` enthalten. Wenn ein `<dl>-Element` vorhanden ist, sollte es mindestens ein `<dt>-Element` enthalten." | ||
/> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
|
||
<Headline tag="h2">Video & Audio</Headline> | ||
|
||
<StoredCheckbox | ||
key="videos-audios-playable" | ||
label="Die automatische Wiedergabefunktion für Video (sowie für Audio oder andere Multimedia) ist entfernt. Benutzer können die Wiedergabe starten, anhalten und stoppen." | ||
/> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script> | ||
import Headline from "$lib/components/headline.svelte"; | ||
import StoredCheckbox from "$lib/components/stored-checkbox.svelte"; | ||
</script> | ||
|
||
<Headline tag="h2">Mobil</Headline> | ||
|
||
<StoredCheckbox key="no-horizontal-scroll" label="Die Seite kann nicht horizontal gescrollt werden" /> | ||
<StoredCheckbox key="viewport-zoom" label="Viewport Zoom ist deaktiviert" /> | ||
<StoredCheckbox key="click-areas-size" | ||
label="Alle Klick-Flächen mind. `44x44px`, außer bei Inline-Elementen wie Links" /> |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let n = Date.now(); | ||
|
||
// pretty much a sequence, used to number html elements in the same app | ||
|
||
export function randomId() { | ||
return (++n).toString(36); | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.