Testing Fundamentals - Non-Functional TestingWhich HTML element attribute is essential for screen readers to describe the purpose of a button?AclassBaria-labelCstyleDidCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify attribute for screen reader descriptionThe aria-label attribute provides a text label for screen readers to describe elements like buttons.Step 2: Eliminate unrelated attributesClass and id are for styling and scripting, style controls appearance, none describe purpose for screen readers.Final Answer:aria-label -> Option BQuick Check:Screen reader label attribute = aria-label [OK]Quick Trick: Use aria-label to describe elements for screen readers [OK]Common Mistakes:Using class or id for accessibility labelsConfusing style attribute with accessibilityNot providing any label for interactive elements
Master "Non-Functional Testing" in Testing Fundamentals9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepTraceTryChallengeAutomateRecallFrame
More Testing Fundamentals Quizzes Functional Testing Techniques - Equivalence partitioning - Quiz 3easy Functional Testing Techniques - Exploratory testing - Quiz 5medium Non-Functional Testing - Performance testing basics - Quiz 14medium Testing Types and Levels - Acceptance testing - Quiz 10hard Testing Types and Levels - Smoke testing and sanity testing - Quiz 12easy Testing Types and Levels - System testing - Quiz 4medium Why Software Testing Matters - Why testing prevents costly failures - Quiz 5medium Why Software Testing Matters - What software testing is - Quiz 10hard Why Software Testing Matters - Why testing prevents costly failures - Quiz 15hard Why Software Testing Matters - What software testing is - Quiz 8hard