Testing Fundamentals - Non-Functional TestingWhich of the following is the correct way to make an image accessible by providing alternative text?A<img src='logo.png' alt='Company Logo'>B<img src='logo.png' title='Company Logo'>C<img src='logo.png' aria-hidden='true'>D<img src='logo.png'>Check Answer
Step-by-Step SolutionSolution:Step 1: Identify attribute for alternative textThe alt attribute provides alternative text describing the image for screen readers.Step 2: Check other options for accessibilityTitle shows tooltip but is not reliable for screen readers; aria-hidden hides image from assistive tech; no alt means no description.Final Answer:<img src='logo.png' alt='Company Logo'> -> Option AQuick Check:Alt attribute = accessible image description [OK]Quick Trick: Always use alt attribute to describe images for accessibility [OK]Common Mistakes:Using title instead of alt for imagesOmitting alt attribute entirelyUsing aria-hidden on important images
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