Upload Retrain - 02-10-24 - a0_14 - Retrain - 02-10-24 - a0_14.csv.csv
Browse files
Retrain - 02-10-24 - a0_14 - Retrain - 02-10-24 - a0_14.csv.csv
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Instruction,Input,Output
|
| 2 |
+
Provide a transcript for audio-only or a text alternative for video-only content. Key Changes: Added a link to download the transcript for audio-only content. #code-only the output,"<audio src=""audio.mp3""></audio>","<audio src=""audio.mp3""></audio><div><a href=""transcript.html"">Download transcript</a></div>"
|
| 3 |
+
Ensure video-only content includes a full description in text form. Key Changes: Added a link to a detailed description of the visual content. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""></video><div><a href=""video-description.html"">Video description</a></div>"
|
| 4 |
+
Add captions to prerecorded video content. Key Changes: Added captions track to the video to ensure all spoken content is accessible. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""><track kind=""captions"" src=""captions.vtt"" srclang=""en"" label=""English""></track></video>"
|
| 5 |
+
Ensure captions cover all spoken dialogue and important sounds. Key Changes: Ensured captions include all spoken dialogue and significant sound cues. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""><track kind=""captions"" src=""captions.vtt"" srclang=""en"" label=""English""></track></video>"
|
| 6 |
+
Provide an audio description of the visual content or a full text alternative. Key Changes: Added an audio description track that narrates visual content for users with visual impairments. #code-only the output,"<video src=""movie.mp4""></video>","<video src=""movie.mp4""></video><audio src=""audio-description.mp3""></audio>"
|
| 7 |
+
Use a media alternative like a detailed description of the video content. Key Changes: Added a detailed description link for the video content. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""></video><div><a href=""media-alternative.html"">Detailed description</a></div>"
|
| 8 |
+
Provide live captions for real-time video streams. Key Changes: Added real-time captions to the live stream video to ensure accessibility during the event. #code-only the output,"<video src=""live-stream.mp4""></video>","<video src=""live-stream.mp4""><track kind=""captions"" src=""live-captions.vtt"" srclang=""en"" label=""Live English Captions""></track></video>"
|
| 9 |
+
Include an audio description track for all prerecorded video content with important visual elements. Key Changes: Added audio description track for prerecorded content covering essential visual elements. #code-only the output,"<video src=""live-stream.mp4""></video>","<video src=""live-stream.mp4""><track kind=""captions"" src=""live-captions.vtt"" srclang=""en"" label=""Live English Captions""></track></video>"
|
| 10 |
+
Use a media alternative like a detailed description of the video content. Key Changes: Added a detailed description link for the video content. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""></video><div><a href=""media-alternative.html"">Detailed description</a></div>"
|
| 11 |
+
Provide live captions for real-time video streams. Key Changes: Added real-time captions to the live stream video to ensure accessibility during the event. #code-only the output,"<video src=""live-stream.mp4""></video>","<video src=""live-stream.mp4""><track kind=""captions"" src=""live-captions.vtt"" srclang=""en"" label=""Live English Captions""></track></video>"
|
| 12 |
+
Include an audio description track for all prerecorded video content with important visual elements. Key Changes: Added audio description track for prerecorded content covering essential visual elements. #code-only the output,"<video src=""live-stream.mp4""></video>","<video src=""live-stream.mp4""><track kind=""captions"" src=""live-captions.vtt"" srclang=""en"" label=""Live English Captions""></track></video>"
|
| 13 |
+
"Ensure the audio description covers essential visual elements such as text, actions, or important changes. Key Changes: Added description track to ensure essential visual elements are covered. #code-only the output","<video src=""movie.mp4""></video>","<video src=""movie.mp4""><track kind=""descriptions"" src=""description.vtt"" srclang=""en"" label=""English""></track></video>"
|
| 14 |
+
Provide a sign language interpretation video for prerecorded content. Key Changes: Added a sign language interpretation track to the prerecorded video content. #code-only the output,"<video src=""lecture.mp4""></video>","<video src=""lecture.mp4""><track kind=""sign"" src=""sign-language.mp4"" srclang=""en"" label=""Sign Language""></track></video>"
|
| 15 |
+
Ensure the sign language interpretation is synchronized with the video content. Key Changes: Ensured the sign language interpretation is synchronized with the video. #code-only the output,"<video src=""lecture.mp4""></video>","<video src=""lecture.mp4""><track kind=""sign"" src=""sign-language.mp4"" srclang=""en"" label=""Sign Language""></track></video>"
|
| 16 |
+
Provide extended audio descriptions if the visual content is too complex for the standard audio description. Key Changes: Added an extended audio description for complex visual content. #code-only the output,"<video src=""complex-visual.mp4""></video>","<video src=""complex-visual.mp4""></video><audio src=""extended-audio-description.mp3""></audio>"
|
| 17 |
+
Ensure the extended audio description includes a detailed description of complex visual content. Key Changes: Added detailed extended audio description for complex visual elements. #code-only the output,"<video src=""complex-visual.mp4""></video>","<video src=""complex-visual.mp4""></video><audio src=""extended-audio-description.mp3""></audio>"
|
| 18 |
+
"Provide a media alternative, such as a full text version, for prerecorded content. Key Changes: Added a full text alternative link for the prerecorded video content. #code-only the output","<video src=""interview.mp4""></video>","<video src=""interview.mp4""></video><div><a href=""media-alternative.html"">Full text alternative</a></div>"
|
| 19 |
+
"Ensure the media alternative contains all content present in the media, including visual and auditory elements. Key Changes: Ensured that the media alternative contains all the visual and auditory content. #code-only the output","<video src=""interview.mp4""></video>","<video src=""interview.mp4""></video><div><a href=""media-alternative.html"">Full text alternative</a></div>"
|
| 20 |
+
Provide a real-time transcript or captions for live audio-only content. Key Changes: Added a link to a real-time transcript for live audio-only content. #code-only the output,"<audio src=""live-audio.mp3""></audio>","<audio src=""live-audio.mp3""></audio><div><a href=""real-time-transcript.html"">Real-time transcript</a></div>"
|
| 21 |
+
"Ensure the transcript is updated live, capturing all spoken content accurately. Key Changes: Ensured the real-time transcript accurately captures all spoken content. #code-only the output","<audio src=""live-audio.mp3""></audio>","<audio src=""live-audio.mp3""></audio><div><a href=""real-time-transcript.html"">Real-time transcript</a></div>"
|
| 22 |
+
Ensure all non-text content has a text alternative that serves the equivalent purpose. Key Changes: Added an alt attribute to the img element to provide a text alternative for the non-text content. #code-only the output,"<img src=""image.jpg"">","<img src=""image.jpg"" alt=""Description of the image"">"
|
| 23 |
+
Provide a descriptive alt attribute for informative images to convey the purpose or meaning of the visual content. Key Changes: Added a descriptive alt attribute to the image for better context. #code-only the output,"<img src=""chart.png"">","<img src=""chart.png"" alt=""Bar chart showing the sales growth from January to June"">"
|
| 24 |
+
"For decorative images that do not provide essential information, use an empty alt attribute to indicate that the image is decorative. Key Changes: Added an empty alt attribute to the decorative image to indicate that it can be ignored by assistive technologies. #code-only the output","<img src=""decorative-border.png"">","<img src=""decorative-border.png"" alt="""">"
|
| 25 |
+
Provide a title or aria-label for embedded non-text content like icons if it conveys meaning. Key Changes: Added an aria-label attribute to the icon to provide descriptive text for assistive technology users. #code-only the output,"<span class=""icon-search""></span>","<span class=""icon-search"" aria-label=""Search""></span>"
|
| 26 |
+
"For audio content, provide a text transcript that conveys the same information as the audio. Key Changes: Added a link to download the transcript for the audio content. #code-only the output","<audio src=""audio.mp3""></audio>","<audio src=""audio.mp3""></audio><div><a href=""transcript.html"">Download transcript</a></div>"
|
| 27 |
+
Ensure that video-only content includes a full description in text form to provide context for users who cannot see the visual content. Key Changes: Added a link to a detailed description of the video content. #code-only the output,"<video src=""video.mp4""></video>","<video src=""video.mp4""></video><div><a href=""video-description.html"">Video description</a></div>"
|
| 28 |
+
Include an audio description for video content with important visual information to ensure that users who are blind or visually impaired can understand the content. Key Changes: Added an audio description track to provide descriptions of important visual elements. #code-only the output,"<video src=""movie.mp4""></video>","<video src=""movie.mp4""><track kind=""descriptions"" src=""description.vtt"" srclang=""en"" label=""English""></track></video>"
|
| 29 |
+
"For interactive non-text content, such as buttons with images or icons, provide an appropriate aria-label or alt attribute to describe the function. Key Changes: Added an aria-label attribute to the button for accessibility purposes. #code-only the output","<button><img src=""submit-icon.png""></button>","<button aria-label=""Submit""><img src=""submit-icon.png"" alt=""""></button>"
|
| 30 |
+
Provide text alternatives for charts and graphs that convey the same information. Key Changes: Added a detailed description link for users to access the full explanation of the graph. #code-only the output,"<img src=""graph.png"">","<img src=""graph.png"" alt=""""><div><a href=""graph-description.html"">Graph description</a></div>"
|
| 31 |
+
"For CAPTCHA or any non-text verification, provide an accessible alternative such as audio or a simple question. Key Changes: Added an audio alternative for CAPTCHA to ensure accessibility for users who cannot view the image. #code-only the output","<img src=""captcha.png"">","<img src=""captcha.png"" alt=""CAPTCHA""><div><a href=""audio-captcha.mp3"">Audio CAPTCHA</a></div>"
|
| 32 |
+
"Ensure that the structure of headings is semantically correct for easier navigation. Key Changes: Added appropriate heading levels (<h1>, <h2>, etc.) to maintain document structure. #code-only the output","<div class=""title"">Main Title</div><div class=""subtitle"">Sub Title</div>",<h1>Main Title</h1><h2>Sub Title</h2>
|
| 33 |
+
Use proper HTML tags to mark up tables to define headers and associate data cells. Key Changes: Added <th> elements and scope attributes to provide better context for table data. #code-only the output,<table><tr><td>Item</td><td>Price</td></tr><tr><td>Apple</td><td>$1</td></tr></table>,"<table><tr><th scope=""col"">Item</th><th scope=""col"">Price</th></tr><tr><td>Apple</td><td>$1</td></tr></table>"
|
| 34 |
+
"Use ARIA landmarks to define regions of a webpage for better navigation by assistive technologies. Key Changes: Added ARIA roles to identify main content, navigation, and complementary regions of the webpage. #code-only the output","<div id=""content"">Main content here</div>","<div id=""content"" role=""main"">Main content here</div>"
|
| 35 |
+
Ensure that form elements are properly labeled for accessibility. Key Changes: Added <label> elements and for attributes to associate labels with form inputs. #code-only the output,"<input type=""text"" id=""username"">","<label for=""username"">Username</label><input type=""text"" id=""username"">"
|
| 36 |
+
Group related form controls with <fieldset> and <legend> to provide context. Key Changes: Added <fieldset> and <legend> elements to group related form controls. #code-only the output,"<input type=""radio"" name=""gender"" value=""male""> Male<br><input type=""radio"" name=""gender"" value=""female""> Female","<fieldset><legend>Gender</legend><input type=""radio"" name=""gender"" value=""male""> Male<br><input type=""radio"" name=""gender"" value=""female""> Female</fieldset>"
|
| 37 |
+
Ensure that all content that visually appears as a list is marked up with the appropriate HTML list tags. Key Changes: Wrapped the list items in <ul> tags for semantic correctness. #code-only the output,<div>Item 1</div><div>Item 2</div><div>Item 3</div>,<ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul>
|
| 38 |
+
Use the correct <label> element to associate input fields with their corresponding descriptions. Key Changes: Wrapped the text with <label> and linked it to the corresponding form field for accessibility. #code-only the output,"<input id=""email"" type=""email""> Email","<label for=""email"">Email</label><input id=""email"" type=""email"">"
|
| 39 |
+
"Ensure that visual changes such as font styles, boldness, and colors are conveyed through semantic HTML and CSS. Key Changes: Replaced visual styling with semantic HTML tags. #code-only the output","<div style=""font-weight:bold;"">Important Text</div>",<strong>Important Text</strong>
|
| 40 |
+
"For interactive elements like buttons or links, ensure the correct role is used. Key Changes: Added an ARIA role to indicate the interactive nature of the button. #code-only the output","<div class=""button"">Submit</div>",<button>Submit</button>
|
| 41 |
+
Ensure consistent navigation by maintaining the same sequence of links on every page. Key Changes: Reorganized the navigation section for consistency across different pages. #code-only the output,"<nav><a href=""/home"">Home</a> <a href=""/about"">About</a> <a href=""/contact"">Contact</a></nav>","<nav><a href=""/home"">Home</a> <a href=""/about"">About</a> <a href=""/contact"">Contact</a></nav>"
|
| 42 |
+
Ensure that text has sufficient contrast against its background to improve readability. Key Changes: Modified the CSS to use colors with better contrast. #code-only the output,"<div style=""color: lightgray; background-color: white;"">Low contrast text</div>","<div style=""color: black; background-color: white;"">Improved contrast text</div>"
|
| 43 |
+
Provide a mechanism for users to adjust text size without loss of content or functionality. Key Changes: Updated CSS to use relative units for font sizes to ensure better scalability. #code-only the output,"<p style=""font-size: 14px;"">Some text content</p>","<p style=""font-size: 1em;"">Some text content</p>"
|
| 44 |
+
Ensure that text is not conveyed solely by color to differentiate content. Key Changes: Added a text label to convey the required distinction along with color. #code-only the output,"<p style=""color: red;"">Required field</p>","<p style=""color: red;"">Required field <span>(required)</span></p>"
|
| 45 |
+
Use sufficient contrast between text and its background for disabled form fields. Key Changes: Modified the CSS to ensure disabled input text is distinguishable. #code-only the output,"<input type=""text"" disabled style=""color: lightgray;"">","<input type=""text"" disabled style=""color: darkgray; background-color: #f0f0f0;"">"
|
| 46 |
+
"Provide visible focus indicators for interactive elements, such as buttons and links. Key Changes: Added a CSS outline to indicate focus for links and buttons. #code-only the output","<a href=""#"">Link</a>","<a href=""#"" style=""outline: 2px solid blue;"">Link</a>"
|
| 47 |
+
"Ensure that audio content that plays automatically can be paused, stopped, or muted by the user. Key Changes: Added controls to the audio element for better user control. #code-only the output","<audio src=""audio.mp3"" autoplay></audio>","<audio src=""audio.mp3"" controls></audio>"
|
| 48 |
+
Avoid using images of text unless essential. Key Changes: Replaced an image of text with actual HTML text and styled it with CSS. #code-only the output,"<img src=""text-image.png"" alt=""Welcome"">","<h1 style=""font-family: Arial, sans-serif;"">Welcome</h1>"
|
| 49 |
+
Provide a mechanism to change or control the background audio for content with background sounds. Key Changes: Added an option to mute the background audio for better clarity. #code-only the output,"<audio src=""background.mp3"" autoplay loop></audio>","<audio src=""background.mp3"" autoplay loop controls></audio>"
|
| 50 |
+
"Ensure that content does not rely solely on sensory characteristics such as shape, color, or location. Key Changes: Added descriptive labels to identify buttons without relying solely on their color. #code-only the output","<button style=""background-color: green;"">Accept</button>","<button style=""background-color: green;"">Accept <span>(Accept the terms)</span></button>"
|
| 51 |
+
"Allow users to customize the line height, letter spacing, and paragraph spacing for better readability. Key Changes: Modified CSS to support user styles, making adjustments possible via browser settings. #code-only the output","<p style=""line-height: 1.2;"">Sample paragraph text</p>","<p style=""line-height: 1.5; letter-spacing: 0.1em;"">Sample paragraph text</p>"
|
| 52 |
+
Ensure all interactive elements are keyboard accessible. Key Changes: Added tabindex attributes to ensure focusable elements are reachable via keyboard navigation. #code-only the output,"<div class=""button"" onclick=""doSomething()"">Click me</div>","<button onclick=""doSomething()"">Click me</button>"
|
| 53 |
+
Provide clear focus indicators for all keyboard-navigable elements. Key Changes: Added CSS styles to show focus states for links and buttons. #code-only the output,"<a href=""#"">Link</a>","<a href=""#"" style=""outline: 2px solid blue;"">Link</a>"
|
| 54 |
+
Ensure that form elements can be accessed and manipulated via the keyboard. Key Changes: Confirmed all form fields support keyboard navigation without mouse interaction. #code-only the output,"<input type=""text"" name=""name"">","<input type=""text"" name=""name"" tabindex=""0"">"
|
| 55 |
+
Use logical tab order for all focusable elements on the page. Key Changes: Reorganized the HTML structure to maintain a logical flow for keyboard navigation. #code-only the output,<div><input /><button /></div>,<div><button /><input /></div>
|
| 56 |
+
Provide keyboard shortcuts for frequently used actions. Key Changes: Implemented keyboard shortcuts using accesskey attributes for common functions. #code-only the output,"<button onclick=""save()"">Save</button>","<button onclick=""save()"" accesskey=""s"">Save</button>"
|
| 57 |
+
Ensure all content that requires user input is accessible via keyboard input. Key Changes: Added focusable elements and appropriate event handlers for keyboard interactions. #code-only the output,"<div onclick=""showDetails()"">Details</div>","<button onclick=""showDetails()"">Details</button>"
|
| 58 |
+
Confirm that dropdown menus can be opened and navigated using the keyboard. Key Changes: Updated JavaScript to handle keyboard events for dropdowns. #code-only the output,"<div class=""dropdown"">Menu</div>","<div class=""dropdown"" tabindex=""0"" onkeydown=""handleKeyDown(event)"">Menu</div>"
|
| 59 |
+
Make sure that all elements that open new windows or dialogs can be triggered via the keyboard. Key Changes: Added keyboard event listeners to trigger modals or new windows. #code-only the output,"<button onclick=""openModal()"">Open</button>","<button onclick=""openModal()"" tabindex=""0"">Open</button>"
|
| 60 |
+
Ensure that all images used as buttons have keyboard support and are accessible. Key Changes: Replaced <img> used as a button with an actual button element. #code-only the output,"<img src=""button.png"" alt=""Submit"" onclick=""submitForm()"">","<button onclick=""submitForm()""><img src=""button.png"" alt=""Submit""></button>"
|
| 61 |
+
"Provide an option to skip navigation links for keyboard users. Key Changes: Added a ""skip to content"" link at the top of the page. #code-only the output","<nav><a href=""#home"">Home</a><a href=""#about"">About</a></nav>","<a href=""#content"" style=""position:absolute; top:-40px;"">Skip to content</a><nav><a href=""#home"">Home</a><a href=""#about"">About</a></nav>"
|
| 62 |
+
Ensure that users can adjust the timing of time-limited content to allow for additional reading or interaction time. Key Changes: Added a button to extend the time limit for tasks. #code-only the output,"<div id=""timer"" data-time=""60"">Time remaining: 60 seconds</div><button onclick=""startTimer()"">Start</button>","<div id=""timer"" data-time=""60"">Time remaining: <span id=""time-display"">60</span> seconds</div><button onclick=""startTimer()"">Start</button><button onclick=""extendTime()"">Extend Time</button>"
|
| 63 |
+
Provide a clear indication of time limits and how much time is remaining for tasks. Key Changes: Implemented a visual countdown timer that updates in real-time. #code-only the output,<div>Complete the form in 5 minutes.</div>,"<div>Complete the form in <span id=""countdown"">5:00</span> minutes.</div>"
|
| 64 |
+
Ensure that users are notified of impending time limits and allowed to request additional time. Key Changes: Added an alert when time is about to expire. #code-only the output,<div>Time remaining: 30 seconds</div>,"<div>Time remaining: <span id=""time-remaining"">30</span> seconds</div><script>setTimeout(function() { alert(""You have 10 seconds left!""); }, 29000);</script>"
|
| 65 |
+
Allow users to pause or stop time-limited processes when needed. Key Changes: Implemented a pause button for users to halt timers. #code-only the output,"<div>Time remaining: <span id=""timer"">60</span> seconds</div><button onclick=""startTimer()"">Start</button>","<div>Time remaining: <span id=""timer"">60</span> seconds</div><button onclick=""startTimer()"">Start</button><button onclick=""pauseTimer()"">Pause</button>"
|
| 66 |
+
"Provide users with the ability to save their progress in time-sensitive tasks. Key Changes: Added a ""Save Progress"" feature to allow users to return later. #code-only the output","<form onsubmit=""submitForm()"">Form Content Here</form>","<form onsubmit=""submitForm()"">Form Content Here</form><button onclick=""saveProgress()"">Save Progress</button>"
|
| 67 |
+
Ensure that content with time limits does not interfere with the ability to read and interact with the material. Key Changes: Increased the time limit based on user feedback or adaptive settings. #code-only the output,<div>Complete the quiz in 3 minutes.</div>,"<div>Complete the quiz in <span id=""quiz-time"">5 minutes</span>.</div>"
|
| 68 |
+
Provide users with options for different timing settings based on their individual needs. Key Changes: Implemented user preferences for extended time limits in account settings. #code-only the output,<div>Time limit: 5 minutes</div>,"<div>Time limit: <span id=""user-time-limit"">10 minutes</span></div>"
|
| 69 |
+
Use AI to analyze user behavior and dynamically adjust time limits based on individual performance. Key Changes: Implemented AI that learns user patterns and extends time for slower users. #code-only the output,<div>Complete the task within the given time.</div>,<div>AI has detected slower response times. Time limit extended by 2 minutes.</div>
|
| 70 |
+
Incorporate real-time accessibility checks to notify users of remaining time and adjust timers if they are approaching the limit too quickly. Key Changes: AI monitors user interaction and sends alerts if nearing time constraints. #code-only the output,<div>Time left: 1 minute</div>,"<div>Time left: <span id=""remaining-time"">1 minute</span></div><script>if (userInteractionSlow) { extendTimer(60); alert(""Timer extended by 1 minute!""); }</script>"
|
| 71 |
+
Ensure that content does not contain any elements that flash more than three times in any one second period. Key Changes: Removed or replaced flashing elements to avoid seizure triggers. #code-only the output,"<div style=""animation: flash 0.5s infinite;"">Flashing Text</div>","<div style=""animation: none;"">Flashing Text</div>"
|
| 72 |
+
Use a color palette that avoids high-contrast flashing effects that can induce seizures. Key Changes: Adjusted color combinations to eliminate rapid flashing. #code-only the output,"<div style=""color: red; background-color: blue;"">Flashing Alert</div>","<div style=""color: green; background-color: lightgray;"">Safe Alert</div>"
|
| 73 |
+
Provide users with controls to stop any automatic content that flashes or moves. Key Changes: Added a pause button for animations. #code-only the output,"<div class=""animated"">Animated Content</div>","<div class=""animated""><button onclick=""pauseAnimation()"">Pause</button>Animated Content</div>"
|
| 74 |
+
Ensure that video content does not contain rapid changes that could trigger seizures. Key Changes: Edited video clips to remove rapid transitions. #code-only the output,"<video src=""video.mp4""></video>","<video src=""safe-video.mp4""></video>"
|
| 75 |
+
Implement a user preference setting to disable animations or moving content for those who are sensitive. Key Changes: Added a toggle switch to enable/disable animations. #code-only the output,"<div class=""animated"">Moving Content</div>","<label><input type=""checkbox"" id=""disable-animations""> Disable Animations</label><div class=""animated"">Moving Content</div>"
|
| 76 |
+
Regularly test all media content to ensure it meets seizure-safe standards. Key Changes: Integrated AI tools to scan content for flashing and rapid changes. #code-only the output,"<div style=""animation: flash 0.5s infinite;"">Flash Content</div>","<div style=""animation: none;"" class=""safe-content"">Safe Content</div>"
|
| 77 |
+
Use AI to monitor user interactions and provide warnings when a user is interacting with potentially seizure-inducing content. Key Changes: Implemented an alert system that detects rapid interactions. #code-only the output,"<div onclick=""triggerAnimation()"">Click Me</div>","<div onclick=""triggerAnimation()"" onmouseover=""checkSeizureRisk()"">Click Me</div><script>function checkSeizureRisk() { if (interactionSpeedTooFast) { alert(""Warning: This action may trigger a seizure.""); }}</script>"
|
| 78 |
+
"Allow users to set custom preferences for content display, including speed and animation limits. Key Changes: Developed a user settings page for content customization. #code-only the output","<div class=""animated"">Content</div>","<div class=""animated"" style=""animation-duration: userSetSpeed;"">Content</div>"
|
| 79 |
+
"Provide clear documentation on any content that may potentially trigger seizures, including warnings. Key Changes: Added disclaimers for animations and flashing content. #code-only the output","<div class=""animated"">This may cause seizures.</div>","<div class=""animated"">This content contains animations. <span style=""color: red;"">Warning: May cause seizures!</span></div>"
|
| 80 |
+
Ensure real-time feedback for users who may be affected by flashing or animated content. Key Changes: Implemented real-time monitoring for users with known sensitivities. #code-only the output,<div>Some animated content here</div>,"<div>Some animated content here</div><script>if (userHasSeizureHistory) { alert(""Please be cautious while viewing this content.""); }</script>"
|
| 81 |
+
Ensure that all pages have clear and descriptive titles to help users understand the content. Key Changes: Updated the page title to reflect the main topic. #code-only the output,<title>Home</title>,<title>Home - Accessible Web Design</title>
|
| 82 |
+
"Provide multiple ways for users to navigate to different sections of the site, including search functions and site maps. Key Changes: Added a search bar and a site map link. #code-only the output","<nav><ul><li><a href=""#"">Home</a></li><li><a href=""#"">Contact</a></li></ul></nav>","<nav><ul><li><a href=""#"">Home</a></li><li><a href=""#"">Contact</a></li><li><input type=""text"" placeholder=""Search...""><button>Search</button></li><li><a href=""sitemap.html"">Site Map</a></li></ul></nav>"
|
| 83 |
+
Provide a consistent navigation structure across all pages. Key Changes: Standardized the navigation menu across the site. #code-only the output,<header><nav><ul><li>Home</li><li>About</li></ul></nav></header>,"<header><nav><ul><li><a href=""#"">Home</a></li><li><a href=""#"">About</a></li><li><a href=""#"">Services</a></li><li><a href=""#"">Contact</a></li></ul></nav></header>"
|
| 84 |
+
"Use headings to create a clear hierarchy of content, making it easier for users to scan and understand the layout. Key Changes: Structured content with appropriate heading levels. #code-only the output",<h1>Main Title</h1><p>Content...</p><h2>Subsection</h2>,<h1>Main Title</h1><h2>Subsection 1</h2><p>Content...</p><h2>Subsection 2</h2>
|
| 85 |
+
Provide labels for all form elements to ensure users know what information is required. Key Changes: Added labels to input fields. #code-only the output,"<input type=""text"" id=""name"">","<label for=""name"">Name:</label><input type=""text"" id=""name"">"
|
| 86 |
+
Allow users to easily identify their current location within the site using breadcrumbs or other navigation aids. Key Changes: Implemented breadcrumb navigation. #code-only the output,"<nav><ul><li><a href=""#"">Home</a></li></ul></nav>","<nav><ul><li><a href=""#"">Home</a></li><li> > </li><li><a href=""#"">Products</a></li><li> > </li><li>Item Details</li></ul></nav>"
|
| 87 |
+
Enable keyboard navigation throughout the site to support users who cannot use a mouse. Key Changes: Ensured all interactive elements can be accessed via keyboard. #code-only the output,<button>Submit</button>,"<button tabindex=""0"">Submit</button>"
|
| 88 |
+
"Provide clear feedback when users complete actions, such as submitting a form or changing settings. Key Changes: Added success messages for actions. #code-only the output","<form onsubmit=""submitForm()""><input type=""text""><button>Submit</button></form>","<form onsubmit=""submitForm(); alert('Form submitted successfully!');""><input type=""text""><button>Submit</button></form>"
|
| 89 |
+
Use AI to analyze user behavior and suggest relevant content based on previous interactions. Key Changes: Integrated AI to recommend similar articles based on user history. #code-only the output,<div>Recommended Articles:</div><ul><li>Article 1</li><li>Article 2</li></ul>,"<div>Recommended Articles:</div><ul><li id=""ai-recommendation"">Loading recommendations...</li></ul><script>fetchRecommendations();</script>"
|
| 90 |
+
Provide real-time updates to navigation menus based on user preferences or frequently visited sections. Key Changes: Implemented AI to adjust navigation based on user behavior. #code-only the output,<nav><ul><li>Home</li><li>Contact</li></ul></nav>,"<nav><ul id=""dynamic-menu""><li>Home</li><li>Frequently Visited: <span id=""frequent-link"">Loading...</span></li></ul></nav><script>updateDynamicMenu();</script>"
|
| 91 |
+
Ensure that all interactive elements can be operated using a keyboard. Key Changes: Made sure all buttons and form fields are accessible via keyboard navigation. #code-only the output,<button>Click Me</button>,"<button tabindex=""0"">Click Me</button>"
|
| 92 |
+
"Provide clear instructions for using input modalities, such as touch or voice commands. Key Changes: Added tooltips or help text explaining how to use alternative input methods. #code-only the output","<input type=""text"" placeholder=""Enter your name"">","<input type=""text"" placeholder=""Enter your name"" title=""Use touch or voice commands to fill out."">"
|
| 93 |
+
Implement gesture-based controls that are easy to use for touch-screen devices. Key Changes: Simplified gestures for common actions like swipe and tap. #code-only the output,<div>Swipe for more options</div>,"<div ontouchstart=""showOptions()"">Swipe for more options</div>"
|
| 94 |
+
"Allow users to customize their input preferences, such as enabling/disabling voice recognition. Key Changes: Integrated a settings menu for input method preferences. #code-only the output",<div>Voice Command Enabled</div>,"<div><label><input type=""checkbox"" id=""voice-command""> Enable Voice Command</label></div>"
|
| 95 |
+
Provide real-time feedback for users when using voice input to ensure their commands are recognized. Key Changes: Implemented visual cues when voice commands are detected. #code-only the output,"<input type=""text"" id=""voice-input"">","<input type=""text"" id=""voice-input"" aria-live=""polite""><div id=""voice-feedback"">Listening...</div>"
|
| 96 |
+
"Use adaptive technologies to provide alternatives for input modalities, such as switches or eye-tracking devices. Key Changes: Integrated support for various assistive technologies. #code-only the output","<button onclick=""doAction()"">Perform Action</button>","<button onclick=""doAction()"" aria-label=""Perform Action"">Perform Action</button>"
|
| 97 |
+
Enable AI-based predictive text and input suggestions for users with limited input capabilities. Key Changes: Added a predictive text feature to form fields. #code-only the output,"<input type=""text"" id=""search"">","<input type=""text"" id=""search"" aria-autocomplete=""both""><div id=""predictions""></div><script>enablePredictions();</script>"
|
| 98 |
+
"Ensure that forms can be completed using alternative input methods, such as speech recognition. Key Changes: Added compatibility for speech-to-text functionalities. #code-only the output","<input type=""text"" id=""comment"">","<input type=""text"" id=""comment"" onfocus=""startVoiceInput()"">"
|
| 99 |
+
Provide clear and accessible error messages when input is incorrect or when an action fails. Key Changes: Added error messages that are easy to understand and navigate. #code-only the output,"<form onsubmit=""validateInput()"">","<form onsubmit=""validateInput()""><span id=""error-message"" aria-live=""assertive""></span></form>"
|
| 100 |
+
Implement AI to analyze user interaction patterns and suggest optimal input methods based on individual preferences. Key Changes: Used AI to learn from user behavior and recommend input settings. #code-only the output,<div>Your Input Method: Keyboard</div>,"<div>Your Input Method: <span id=""recommended-method"">Loading...</span></div><script>analyzeUserBehavior();</script>"
|
| 101 |
+
Use clear and simple language that is easy to understand. Key Changes: Simplified complex sentences and avoided jargon. #code-only the output,<p>The functionality of the application is contingent upon the successful completion of the specified parameters.</p>,<p>The app works only if you complete the required fields.</p>
|
| 102 |
+
Provide definitions for any unusual terms or jargon. Key Changes: Added glossaries or tooltips for complex terms. #code-only the output,<p>The new feature has a robust algorithm for processing data.</p>,"<p>The new feature has a <span title=""a detailed set of rules for performing calculations"">robust algorithm</span> for processing data.</p>"
|
| 103 |
+
Organize content with headings and subheadings to create a clear structure. Key Changes: Used appropriate heading levels for content organization. #code-only the output,<h1>Main Title</h1><p>Content...</p><h2>Subtopic</h2>,<h1>Main Title</h1><h2>Subtopic</h2><p>Content...</p><h3>Details</h3>
|
| 104 |
+
Ensure that text contrast meets accessibility standards for readability. Key Changes: Adjusted text and background colors to meet contrast ratios. #code-only the output,"<div style=""color: #aaa; background-color: #fff;"">Text</div>","<div style=""color: #000; background-color: #fff;"">Text</div>"
|
| 105 |
+
"Provide multiple formats for content, such as audio, video, and text, to accommodate different learning styles. Key Changes: Added audio versions or transcripts of written content. #code-only the output",<p>Read the full report here.</p>,"<p>Read the full report <a href=""report.pdf"">here</a> or listen to the audio version <a href=""report-audio.mp3"">here</a>.</p>"
|
| 106 |
+
Avoid using content that requires a timed response without providing options to extend the time limit. Key Changes: Removed time constraints or provided a way to request more time. #code-only the output,"<button onclick=""startTimer()"">Start Test</button>","<button onclick=""startTimer()"">Start Test</button><span>If you need more time, click here to request it.</span>"
|
| 107 |
+
Use AI to analyze text and provide suggestions for simpler alternatives. Key Changes: Implemented a tool that recommends simpler language options. #code-only the output,<p>The information presented is critical for the understanding of the subject matter.</p>,"<p id=""simplified-text"">The information is important for understanding the topic.</p><script>suggestSimplifications();</script>"
|
| 108 |
+
Provide clear instructions and descriptions for forms and input fields. Key Changes: Added labels and helper text for form fields. #code-only the output,"<input type=""text"" placeholder=""Enter your name"">","<label for=""name"">Name:</label><input type=""text"" id=""name"" aria-describedby=""name-help""><small id=""name-help"">Please enter your full name.</small>"
|
| 109 |
+
Ensure that error messages are clear and provide guidance on how to fix issues. Key Changes: Added specific error messages with corrective suggestions. #code-only the output,"<span class=""error"">Error</span>","<span class=""error"">Please enter a valid email address. Example: user@example.com</span>"
|
| 110 |
+
Implement AI-driven readability assessments that provide real-time feedback on text complexity. Key Changes: Used AI to evaluate text and suggest adjustments for better readability. #code-only the output,<p>The data collected during the experiment was analyzed to ascertain the hypothesis.</p>,"<p id=""ai-feedback"">Feedback: Consider simplifying this sentence for better readability.</p><script>evaluateReadability();</script>"
|
| 111 |
+
Ensure that navigation mechanisms are consistent across the website. Key Changes: Standardized navigation menus on all pages. #code-only the output,"<nav><a href=""home.html"">Home</a><a href=""about.html"">About</a></nav>","<nav><a href=""home.html"">Home</a><a href=""about.html"">About</a><a href=""contact.html"">Contact</a></nav>"
|
| 112 |
+
Use clear and consistent labels for buttons and links to ensure users understand their purpose. Key Changes: Made button and link text descriptive and uniform. #code-only the output,<button>Click Here</button><button>Go</button>,<button>Submit Form</button><button>View Details</button>
|
| 113 |
+
Provide users with feedback when an action is taken or a change occurs. Key Changes: Added notifications or alerts after user actions. #code-only the output,"<button onclick=""submitForm()"">Submit</button>","<button onclick=""submitForm()"">Submit</button><div id=""feedback"" aria-live=""polite""></div><script>showFeedback();</script>"
|
| 114 |
+
Ensure that the order of content is logical and follows a predictable structure. Key Changes: Organized content with headings and a clear flow. #code-only the output,<h1>Title</h1><p>Content...</p><h2>Subtitle</h2><p>More content...</p>,<h1>Title</h1><h2>Subtitle</h2><p>Content...</p><p>More content...</p>
|
| 115 |
+
Avoid changes in context or functionality that occur unexpectedly. Key Changes: Provided alerts for significant changes in content or layout. #code-only the output,"<button onclick=""loadMoreContent()"">Load More</button>","<button onclick=""loadMoreContent()"">Load More</button><div id=""content""></div><script>if(contentLoaded) alert(""New content loaded!"");</script>"
|
| 116 |
+
Use AI to anticipate user behavior and provide relevant suggestions based on their actions. Key Changes: Implemented AI recommendations based on user interactions. #code-only the output,"<input type=""text"" placeholder=""Search..."">","<input type=""text"" placeholder=""Search..."" oninput=""getSuggestions(this.value)""><div id=""suggestions""></div><script>provideSuggestions();</script>"
|
| 117 |
+
"Maintain consistent and predictable behavior for interactive elements, such as forms and buttons. Key Changes: Ensured buttons trigger the same actions consistently across the site. #code-only the output","<button onclick=""submitForm()"">Submit</button>","<button onclick=""submitForm()"">Submit</button><button onclick=""resetForm()"">Reset</button>"
|
| 118 |
+
Provide instructions for complex tasks or processes to guide users. Key Changes: Added step-by-step guides or help icons. #code-only the output,"<p>To register, fill out the form.</p>","<p>To register, <a href=""guide.html"">follow this guide</a> or fill out the form below.</p>"
|
| 119 |
+
"Use consistent visual design for elements that perform similar functions. Key Changes: Ensured similar buttons have the same color, size, and style. #code-only the output","<button style=""color: red;"">Delete</button><button style=""color: blue;"">Edit</button>","<button class=""action-button"">Delete</button><button class=""action-button"">Edit</button>"
|
| 120 |
+
Implement AI tools that assess and predict user navigation patterns to enhance site layout and predictability. Key Changes: Used AI analytics to improve page design based on user behavior. #code-only the output,<nav>...</nav>,<nav>...</nav><script>analyzeUserNavigation();</script>
|
| 121 |
+
Provide labels for all input fields to clearly indicate their purpose. Key Changes: Ensured every form element has a corresponding label. #code-only the output,"<input type=""text"" placeholder=""Enter your name"">","<label for=""name"">Name:</label><input type=""text"" id=""name"" aria-describedby=""name-help""><small id=""name-help"">Please enter your full name.</small>"
|
| 122 |
+
Offer clear and descriptive error messages when validation fails. Key Changes: Included specific error messages with corrective suggestions. #code-only the output,"<span class=""error"">Invalid input</span>","<span class=""error"">Please enter a valid email address. Example: user@example.com</span>"
|
| 123 |
+
Provide inline validation to help users correct errors as they type. Key Changes: Added real-time validation feedback on form fields. #code-only the output,"<input type=""text"" id=""email"">","<input type=""text"" id=""email"" oninput=""validateEmail(this)""><span id=""email-error"" aria-live=""polite""></span><script>validateEmail();</script>"
|
| 124 |
+
Allow users to review and confirm changes before final submission. Key Changes: Implemented a review step for significant actions. #code-only the output,"<button onclick=""submitForm()"">Submit</button>","<button onclick=""confirmSubmission()"">Submit</button><script>function confirmSubmission(){ if(confirm(""Are you sure you want to submit?"")){submitForm();}}</script>"
|
| 125 |
+
Use autocomplete for fields to reduce user input errors. Key Changes: Enabled browser autocomplete for input fields. #code-only the output,"<input type=""text"" id=""address"">","<input type=""text"" id=""address"" autocomplete=""address-line1"">"
|
| 126 |
+
Ensure users can easily reset or clear forms. Key Changes: Provided a reset button with clear labeling. #code-only the output,"<button onclick=""clearForm()"">Clear</button>","<button type=""reset"" onclick=""clearForm()"">Reset Form</button>"
|
| 127 |
+
Use AI to provide context-aware suggestions based on user input to prevent errors. Key Changes: Implemented AI-driven suggestions as users type. #code-only the output,"<input type=""text"" id=""search"" placeholder=""Search..."">","<input type=""text"" id=""search"" placeholder=""Search..."" oninput=""getSuggestions(this.value)""><div id=""suggestions""></div><script>provideSuggestions();</script>"
|
| 128 |
+
Clearly indicate required fields and any specific input format requirements. Key Changes: Added visual indicators for required fields and format instructions. #code-only the output,"<input type=""text"" id=""phone"" placeholder=""Phone Number"">","<label for=""phone"">Phone Number (required):</label><input type=""text"" id=""phone"" placeholder=""123-456-7890""><span>(Format: XXX-XXX-XXXX)</span>"
|
| 129 |
+
"Provide an option for users to save their progress when filling out lengthy forms. Key Changes: Added a ""Save"" button to allow users to continue later. #code-only the output","<button onclick=""saveProgress()"">Save</button>","<button onclick=""saveProgress()"">Save Progress</button><script>function saveProgress(){ /* Save user data */ }</script>"
|
| 130 |
+
Implement AI to analyze common user errors in form submissions and provide real-time corrective feedback. Key Changes: Used AI to assess and suggest corrections for common mistakes. #code-only the output,"<input type=""text"" id=""username"">","<input type=""text"" id=""username"" oninput=""analyzeInput(this)""><span id=""username-error"" aria-live=""polite""></span><script>analyzeInput();</script>"
|
| 131 |
+
Ensure all HTML elements are used according to their intended purpose to maximize compatibility with assistive technologies. Key Changes: Used semantic HTML elements appropriately. #code-only the output,"<div class=""header"">Header Content</div>",<header><h1>Header Content</h1></header>
|
| 132 |
+
"Use ARIA roles and properties only when necessary, and ensure they are used correctly. Key Changes: Added appropriate ARIA roles to enhance accessibility. #code-only the output","<div class=""navigation"">...</div>","<nav role=""navigation"">...</nav>"
|
| 133 |
+
Provide keyboard accessibility for all interactive elements. Key Changes: Ensured all buttons and links are accessible via keyboard. #code-only the output,"<button onclick=""submit()"">Submit</button>","<button onclick=""submit()"" tabindex=""0"">Submit</button>"
|
| 134 |
+
Ensure that form controls have associated labels to enhance screen reader compatibility. Key Changes: Linked labels to input fields using for attribute. #code-only the output,"<input type=""text"" id=""username"">","<label for=""username"">Username:</label><input type=""text"" id=""username"" aria-required=""true"">"
|
| 135 |
+
Ensure that content is accessible and usable with assistive technologies like screen readers. Key Changes: Provided clear descriptions and headings for screen readers. #code-only the output,<div>Important Information</div>,"<h2 id=""important-info"">Important Information</h2><div aria-labelledby=""important-info"">Details about the information...</div>"
|
| 136 |
+
Use landmarks to help users navigate the page more efficiently. Key Changes: Added ARIA landmarks to indicate different sections of the page. #code-only the output,"<div class=""main-content"">...</div>","<main role=""main"">...</main>"
|
| 137 |
+
"Implement real-time feedback for users with assistive technologies, such as alerts for form validation or status changes. Key Changes: Used ARIA live regions for alerts. #code-only the output","<div class=""status"">Status message</div>","<div class=""status"" aria-live=""polite"">Status message</div>"
|
| 138 |
+
Ensure that dynamic content updates are announced by screen readers. Key Changes: Implemented ARIA properties to notify users of changes. #code-only the output,"<div id=""dynamic-content"">...</div>","<div id=""dynamic-content"" aria-live=""assertive"">Updated content goes here...</div>"
|
| 139 |
+
Use consistent and predictable navigation across the website. Key Changes: Standardized navigation menus on all pages. #code-only the output,"<nav><a href=""home.html"">Home</a></nav>","<nav><a href=""home.html"">Home</a><a href=""about.html"">About</a></nav>"
|
| 140 |
+
Leverage AI to automatically generate accessible markup and ARIA roles based on the content structure. Key Changes: Implemented AI that scans content and suggests improvements. #code-only the output,<div>Content</div>,"<div role=""article"">Content</div><script>improveAccessibility();</script>"
|
| 141 |
+
Add an aria-labelledby attribute to the form to associate it with the title or purpose of the form.Use a visually hidden legend element to provide more context for screen readers.,"<form aria-labelledby=""signupForm"" role=""form"">
|
| 142 |
+
<label for=""username"">Username:</label>
|
| 143 |
+
<input type=""text"" id=""username"" name=""username"" required aria-required=""true"" aria-describedby=""usernameDesc"">
|
| 144 |
+
<span id=""usernameDesc"">This field is required</span>
|
| 145 |
+
<button type=""submit"" aria-label=""Submit your username"">Submit</button>
|
| 146 |
+
</form>
|
| 147 |
+
<legend id=""signupForm"">Sign Up Form</legend>
|
| 148 |
+
<label for=""username"">Username:</label>
|
| 149 |
+
<input type=""text"" id=""username"" name=""username"" required aria-required=""true"" aria-describedby=""usernameDesc"">
|
| 150 |
+
<span id=""usernameDesc"">This field is required</span>
|
| 151 |
+
<button type=""submit"" aria-label=""Submit your username"">Submit</button>
|
| 152 |
+
</form>
|
| 153 |
+
Add keyboard navigation using tabindex for carousel controls.Ensure aria-hidden is toggled appropriately when the slide changes.,"<div id=""carousel"" class=""carousel"" aria-roledescription=""carousel"" aria-live=""polite"">
|
| 154 |
+
<div class=""carousel-slide"" aria-hidden=""false"">
|
| 155 |
+
<img src=""image1.jpg"" alt=""First Slide"">
|
| 156 |
+
</div>
|
| 157 |
+
<div class=""carousel-slide"" aria-hidden=""true"">
|
| 158 |
+
<img src=""image2.jpg"" alt=""Second Slide"">
|
| 159 |
+
</div>
|
| 160 |
+
<button aria-label=""Previous slide"">❮</button>
|
| 161 |
+
<button aria-label=""Next slide"">❯</button>
|
| 162 |
+
</div>
|
| 163 |
+
<div class=""carousel-slide"" aria-hidden=""false"">
|
| 164 |
+
<img src=""image1.jpg"" alt=""First Slide"">
|
| 165 |
+
</div>
|
| 166 |
+
<div class=""carousel-slide"" aria-hidden=""true"">
|
| 167 |
+
<img src=""image2.jpg"" alt=""Second Slide"">
|
| 168 |
+
</div>
|
| 169 |
+
<button tabindex=""0"" aria-label=""Previous slide"">❮</button>
|
| 170 |
+
<button tabindex=""0"" aria-label=""Next slide"">❯</button>
|
| 171 |
+
</div>
|
| 172 |
+
Add scope to <th> for column headers.Ensure there is a unique association between <caption> and <table>.,"<table role=""table"" aria-labelledby=""expensesTable"">
|
| 173 |
+
<caption id=""expensesTable"">Monthly Expenses</caption>
|
| 174 |
+
<thead>
|
| 175 |
+
<tr>
|
| 176 |
+
<th scope=""col"">Category</th>
|
| 177 |
+
<th scope=""col"">Amount</th>
|
| 178 |
+
</tr>
|
| 179 |
+
</thead>
|
| 180 |
+
<tbody>
|
| 181 |
+
<tr>
|
| 182 |
+
<td>Rent</td>
|
| 183 |
+
<td>$1200</td>
|
| 184 |
+
</tr>
|
| 185 |
+
<tr>
|
| 186 |
+
<td>Utilities</td>
|
| 187 |
+
<td>$300</td>
|
| 188 |
+
</tr>
|
| 189 |
+
</tbody>
|
| 190 |
+
</table>
|
| 191 |
+
<caption id=""expensesTable"">Monthly Expenses</caption>
|
| 192 |
+
<thead>
|
| 193 |
+
<tr>
|
| 194 |
+
<th scope=""col"">Category</th>
|
| 195 |
+
<th scope=""col"">Amount</th>
|
| 196 |
+
</tr>
|
| 197 |
+
</thead>
|
| 198 |
+
<tbody>
|
| 199 |
+
<tr>
|
| 200 |
+
<td>Rent</td>
|
| 201 |
+
<td>$1200</td>
|
| 202 |
+
</tr>
|
| 203 |
+
<tr>
|
| 204 |
+
<td>Utilities</td>
|
| 205 |
+
<td>$300</td>
|
| 206 |
+
</tr>
|
| 207 |
+
</tbody>
|
| 208 |
+
</table>
|
| 209 |
+
Ensure the tooltip is properly associated with the button using aria-describedby.Add keyboard focus functionality.,"<button aria-describedby=""tooltip1"" aria-label=""Information about accessibility"">Info</button>
|
| 210 |
+
<div id=""tooltip1"" role=""tooltip"">This button provides accessibility details.</div>
|
| 211 |
+
<div id=""tooltip1"" role=""tooltip"" tabindex=""-1"">This button provides accessibility details.</div>
|
| 212 |
+
"Use semantic <nav> tag with role=""navigation"".Add a focus state for keyboard users.","<nav role=""navigation"" aria-label=""Main Menu"">
|
| 213 |
+
<ul>
|
| 214 |
+
<li><a href=""#home"">Home</a></li>
|
| 215 |
+
<li><a href=""#about"">About</a></li>
|
| 216 |
+
<li><a href=""#contact"">Contact</a></li>
|
| 217 |
+
</ul>
|
| 218 |
+
</nav>
|
| 219 |
+
<ul>
|
| 220 |
+
<li><a href=""#home"" tabindex=""0"">Home</a></li>
|
| 221 |
+
<li><a href=""#about"" tabindex=""0"">About</a></li>
|
| 222 |
+
<li><a href=""#contact"" tabindex=""0"">Contact</a></li>
|
| 223 |
+
</ul>
|
| 224 |
+
</nav>
|
| 225 |
+
Ensure a default language is specified in the <track> element. Add a text alternative for the <video>.,"<video controls aria-labelledby=""videoTitle"">
|
| 226 |
+
<track src=""captions_en.vtt"" kind=""captions"" srclang=""en"" label=""English"">
|
| 227 |
+
Your browser does not support the video tag.
|
| 228 |
+
</video>
|
| 229 |
+
<h2 id=""videoTitle"">Training Video</h2>
|
| 230 |
+
","<video controls aria-labelledby=""videoTitle"">
|
| 231 |
+
<track src=""captions_en.vtt"" kind=""captions"" srclang=""en"" label=""English"" default>
|
| 232 |
+
Your browser does not support the video tag. Here is the training video description: ""A video showcasing training steps.""
|
| 233 |
+
</video>
|
| 234 |
+
<h2 id=""videoTitle"">Training Video</h2>
|
| 235 |
+
"Ensure aria-hidden toggles appropriately. Use aria-modal=""true"" and trap keyboard focus inside the modal.","<div id=""modal"" role=""dialog"" aria-labelledby=""modalTitle"" aria-hidden=""true"">
|
| 236 |
+
<h2 id=""modalTitle"">Subscribe to our Newsletter</h2>
|
| 237 |
+
<p>Stay updated with our latest news.</p>
|
| 238 |
+
<button aria-label=""Close"">Close</button>
|
| 239 |
+
</div>
|
| 240 |
+
<h2 id=""modalTitle"">Subscribe to our Newsletter</h2>
|
| 241 |
+
<p>Stay updated with our latest news.</p>
|
| 242 |
+
<button aria-label=""Close"">Close</button>
|
| 243 |
+
</div>
|
| 244 |
+
Ensure the card title is focusable. Add meaningful aria-label for the button.,"<div class=""card"" role=""region"" aria-labelledby=""cardTitle"">
|
| 245 |
+
<h3 id=""cardTitle"">Card Title</h3>
|
| 246 |
+
<p>This is a description inside the card.</p>
|
| 247 |
+
<button aria-label=""Read more about this card"">Read More</button>
|
| 248 |
+
</div>
|
| 249 |
+
<h3 id=""cardTitle"" tabindex=""0"">Card Title</h3>
|
| 250 |
+
<p>This is a description inside the card.</p>
|
| 251 |
+
<button aria-label=""Read more details about Card Title"">Read More</button>
|
| 252 |
+
</div>
|
| 253 |
+
"Use a clear aria-label for the search input. Add a role=""searchbox"" to the input field.","<div role=""search"">
|
| 254 |
+
<label for=""searchInput"">Search:</label>
|
| 255 |
+
<input id=""searchInput"" type=""text"" aria-placeholder=""Search for items"" aria-label=""Search input"">
|
| 256 |
+
<button aria-label=""Submit search"">Search</button>
|
| 257 |
+
</div>
|
| 258 |
+
<label for=""searchInput"">Search:</label>
|
| 259 |
+
<input id=""searchInput"" type=""text"" role=""searchbox"" aria-placeholder=""Search for items"" aria-label=""Search input"">
|
| 260 |
+
<button aria-label=""Submit search"">Search</button>
|
| 261 |
+
</div>
|
| 262 |
+
"Ensure all images have descriptive alt attributes. Use role=""img"" for better semantics.","<div role=""group"" aria-labelledby=""galleryLabel"">
|
| 263 |
+
<h2 id=""galleryLabel"">Image Gallery</h2>
|
| 264 |
+
<img src=""image1.jpg"" alt=""A scenic mountain view"">
|
| 265 |
+
<img src=""image2.jpg"" alt=""A city skyline at night"">
|
| 266 |
+
</div>
|
| 267 |
+
","<div role=""group"" aria-labelledby=""galleryLabel"">
|
| 268 |
+
<h2 id=""galleryLabel"">Image Gallery</h2>
|
| 269 |
+
<img src=""image1.jpg"" role=""img"" alt=""A scenic mountain view"">
|
| 270 |
+
<img src=""image2.jpg"" role=""img"" alt=""A city skyline at night"">
|
| 271 |
+
</div>
|