This is the main content area users want to reach quickly.
+ +diff --git a/index.html b/index.html index 4e1d5eb..6fea1b6 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +
-Provide text alternatives for non-text content that serves the same purpose.
<img> tag has no alt attribute at all.
+ Provide an alternative to video-only and audio-only content.
Provide captions for videos with audio.
- Provide audio description or text transcript for videos with sound. + Provide audio description or a text alternative for videos with + sound and meaningful visual content.
Add captions to live videos.
Provide audio descriptions for pre-recorded videos.
++ Provide audio descriptions for videos with sound and important + visual content. +
+ [00:00] SpongeBob SquarePants jumps around his living room, picks + up his name tag, and joyfully sings, “It’s Monday. It’s Monday. + It’s Monday!” +
++ [00:05] He leaves his pineapple house and twirls down the street, + still singing, “Thank gosh it’s Mondaaaay!!!” while dancing + enthusiastically. +
+Content, structure and relationships can be programmatically determined.
Name:
+ + +Email:
+ + +Subscribe to newsletter:
+ +<p> tags, not
+ with proper <label> elements.
+ <label for=""> attribute or by wrapping inputs
+ in <label> elements.
+ Present content in a meaningful order.
Turn on the oven.
+Bake for 30 minutes.
+Mix the ingredients.
+Instructions don't rely solely on sensory characteristics.
+ To proceed, click the green button below. +
+ + +Your website adapts to portrait and landscape views.
+ Please rotate your device to landscape mode to continue. +
+ ++ This is the main application content that only shows in landscape. +
+The purpose of input fields must be programmatically determinable.
Don't use presentation that relies solely on colour.
+ Level A +Don't use presentation that relies solely on color.
| Task | +Status | +
|---|---|
| Submit report | +● | +
| Review feedback | +● | +
Don't play audio automatically.
+ Level A ++ If audio plays automatically for more than 3 seconds, users must be + able to pause, stop, or adjust it. +
+ Your browser may block this audio element due to autoplay + restrictions of modern browsers. +
+Contrast ratio between text and background is at least 4.5:1.
This text has insufficient contrast with its background.
+#a7a7a7 and background color{' '}
+ #787878 have a contrast ratio far below the 4.5:1
+ minimum.
+ Text can be resized to 200% without loss of content or function.
font-size: 16px, which is an absolute
+ unit. Users who increase their preferred font size in browser or
+ OS settings won't see any effect.
+ overflow: hidden
+ , so it cannot grow to fit larger text.
+ Don't use images of text.
+ alt attribute, it does
+ not offer the flexibility or accessibility of real text.
+ Content retains meaning and function without scrolling in two - dimensions. + dimensions for viewport widths between 320px and 1024px.
+ This paragraph is placed inside a fixed-size container with limited + width and height. When a user zooms in to 400% or views it on a + small screen, the text becomes too large to fit and requires both + horizontal and vertical scrolling to read. +
+The contrast between user interface components, graphics and - adjacent colours is at least 3:1. + adjacent colors is at least 3:1.
Content and function retain meaning when users change elements of text spacing.
+ This text sits inside a fixed-size container with tight spacing. +
++ When users increase line, word, or letter spacing, it overflows or + gets cut off. +
+- When hover or focus triggers content to appear, it is dismissible, - hoverable and persistent. + When hover or focus triggers content (like tooltips or popovers) to + appear, it must be dismissible, hoverable and persistent.
All functionality is accessible by keyboard with no specific timings.
Users can navigate to and from all content using a keyboard.
Allow users to turn off or remap single-key character shortcuts.
+ Pressing the D key at any time deletes your draft. +
+ +Provide user controls to turn off, adjust or extend time limits.
This form will expire in 10 seconds.
+ +- Provide user controls to pause, stop and hide moving and - auto-updating content. + Provide user controls to pause, stop or hide moving, blinking, + scrolling, or auto-updating content that lasts longer than 5 + seconds.
+ 🚨 Breaking News: Accessibility matters. Build it in, don’t bolt + it on. 🚨 +
+No content flashes more than three times per second.
Provide a way for users to skip repeated blocks of content.
This is the main content area users want to reach quickly.
+ +Use helpful and clear page titles.
See page title
+ +<title> is empty or non-descriptive.
+ Components receive focus in a logical sequence.
tabIndex attributes with positive values force
+ keyboard focus to jump to the “Focus me first” and “Focus me
+ second” buttons before any other focusable elements on this page.
+ Every link's purpose is clear from its text or context.
Offer at least two ways to find pages on your website.
+ Level AA ++ Offer at least two ways to find pages on your website — for example, + through navigation menus, search, or a sitemap. +
+ This is the “{activeTab}” content, only accessible via the tab + interface. +
+Headings and labels describe topic or purpose.
Keyboard focus is visible when used.
- When a user interface component is selected, the focus indicator - encompasses the visual presentation of the component, maintains a - contrast ratio of at least 3:1 between its pixels in focused and - unfocused states, and ensures a contrast ratio of at least 3:1 - against adjacent colors. + When navigating with the keyboard, the focused element must at least + be partially visible — not hidden behind fixed or sticky content.
- Multi-point and path-based gestures can be operated with a single - pointer. + Multi-point and path-based gestures are operable with a single + pointer unless the gesture is essential for the functionality.
Functions don't complete on the down-click of a pointer.
+ Level A +
+ Functions don't complete on the down event (e.g.{' '}
+ mousedown or touchstart) of a pointer.
+
mousedown{' '}
+ or touchstart event.
+ mouseup,{' '}
+ click, or touchend to confirm intent.
+ - Where a component has a text label, the name of the component also - contains the text displayed. + Where a component has a text label, the accessible name of the + component also contains the text displayed.
aria-label).
+ - Functions operated by motion can also be operated through an - interface and responding to motion can be disabled. + Functions operated by motion (like shaking or tilting a device) can + also be operated through a standard interface and motion-based + operation can be disabled unless the motion is essential.
All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging, unless dragging is @@ -446,150 +1796,660 @@ function App() {
Drag the blue square into one of the drop zones.
+- Ensure the target of any UI element has 24 by 24 CSS PX target size - or there is enough spacing provided between two targets that have - undersize targets. + Ensure the target of any UI element has 24 by 24 CSS pixels target + size or there is enough spacing provided between two targets that + have undersize targets.
Each webpage has a default human language assigned.
+ See missing lang attribute in the HTML tag.
+
lang attribute,
+ so assistive technologies cannot determine the correct language.
+ lang attribute to process content correctly.
+ Each part of a webpage has a default human language assigned.
+ This paragraph is in English, but suddenly switches to French without + indicating the language:{' '} + Bonjour, comment allez-vous aujourd'hui ? +
+ +lang="fr", so
+ screen readers will attempt to pronounce it as English.
+ Elements do not change when they receive focus.
<input> triggers an alert immediately on
+ focus, even before any user interaction.
+ Elements do not change when they receive input.
+ Level A +User input doesn't trigger unexpected context changes.
Position menus and standard controls consistently.
+ Level AA ++ Repeated navigational components appear consistently in the same + order and location across pages. +
Identify components with the same function consistently.
Help options are presented programmatically in the same order.
+ Level A ++ Help is provided consistently on each page, with the same label and + placement. +
Identify and describe input errors for users.
Provide labels or instructions for user input.
+ Level A +Provide clear labels or instructions for user input.
Suggest corrections when users make mistakes.
+ Level AA ++ Provide helpful suggestions to users for correcting input errors. +
Check, confirm and allow reversal of pages that cause important - commitments. + legal, financial, or data commitments.
Autofill form- fields that repeat across steps.
+ Level A +Autofill form fields that repeat across steps.
It states that users must be able to access authentication methods using only a keyboard. This means that the authentication process @@ -597,33 +2457,121 @@ function App() {
div with an{' '}
+ onClick handler but no keyboard support.
+ - The name and role of user components can be understood by + The name, role, and value of user components can be understood by technology.
div with no role or
+ accessible name.
+ - Make sure that all messages indicating success or errors are read - out by a screen reader. + Make sure that all messages indicating success, errors, or alerts + are read out by a screen reader without requiring user focus.
Form submitted successfully!
+ )} +role="status", so screen readers do not announce it.
+