Skip to content

Commit

Permalink
chore:add web-accessibility question
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiva-Sai-ssb committed Oct 2, 2023
1 parent b5defe7 commit a48069b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/data/accessibility-quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,18 @@ const accessibilityQuiz = [
Explanation:
"The minimum contrast ratio needed depends on the type and size of the text and the level of conformance. For normal text, the minimum contrast ratio is 4.5:1.",
Link: "https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html"
},
{
Question: "What is keyboard accessibility, and why is it important for web accessibility?",
Answer: "Keyboard accessibility refers to the ability to navigate and interact with a website using only the keyboard, without relying on a mouse. It is crucial for web accessibility because it ensures that people with mobility impairments or those who cannot use a mouse can still use and interact with a website effectively.",
Distractor1: "Keyboard accessibility refers to using specialized keyboards for web browsing.",
Distractor2: "Keyboard accessibility is a feature that improves website loading speed.",
Distractor3: "Keyboard accessibility is only important for developers, not users.",
Explanation:
"Keyboard accessibility is a fundamental aspect of web accessibility, as it ensures that websites are usable by a wide range of users, including those with disabilities. Providing keyboard support means implementing focus management, allowing users to navigate through interactive elements, and ensuring that all functionality is accessible via keyboard input.",
Link: "https://developer.mozilla.org/en-US/docs/Web/Accessibility/Keyboard-navigable_JavaScript_widgets"
}

];

export default accessibilityQuiz;

0 comments on commit a48069b

Please sign in to comment.