input type=search element test
Pass Criteria
- #1: Element is supported
- #2: Correct HTML and Core Accessibility API mappings
- #3: Correct Accessible Name & Description Calculation
Test si-001: Unlabelled input type=search
Test si-002: input type=search
with aria-label
aria-label should be used as accessible name.
No accessible description.
Test si-003: input type=search
with aria-labelledby
p referenced by aria-labelledby
aria-labelledby should be used as accessible name.
No accessible description.
Test si-004: input type=search
with label
Label wrapping input
label should be used as accessible name.
No accessible description.
Test si-005: input type=search
with title attribute
title should be used as accessible name.
No accessible description.
Test si-006: input type=search
with aria-describedby
p referenced by aria-describedby
aria-describedby should be used as accessible description.
No accessible name.
Test si-007: input type=search
with label element
& title attribute
Label referenced by for/id attributes
label should be used as accessible name
title should be used as accessible description
Note: placeholder and aria-placeholder are tested as part of the placeholder attribute test.