Skip to content

Feedback: Consider changing assertion priority in "Request information about an invalid value in a spin button" (Quantity Spin Button Example, Test 4, V25.12.16) #1366

@mcking65

Description

@mcking65

In Test 4 of the Quantity Spin Button Example Test Plan V25.12.16, 3 of the assertions are:

Priority Assertion Phrase
SHOULD convey minimum value, '1'
SHOULD convey maximum value, '8'
MUST convey error message, 'Must be between 1 and 8'

Because the error message for a spinner containing an invalid value should include the valid range of values, isn't setting the expectation that screen readers SHOULD convey min and max values in addition to the error message asking screen readers to generate output that is redundant and thus excessively verbose?

Put another way, if a screen reader is rendering a spinner where aria-invalid is true and an error message is present, shouldn't it be optional for the screen reader to convey the min and max values?

For example, in this spinner, the error message is:

Must be between 1 and 8

This error message contains the min and max so conveying the min and max in addition to the error message would be redundant.

For test 4 where aria-invalid is true, consider lowering the priority of the min and max assertions to 3 (MAY) as follows:

Priority Assertion Phrase
MAY convey minimum value, '1'
MAY convey maximum value, '8'
MUST convey error message, 'Must be between 1 and 8'

For reference, the definitions of MUST/SHOULD/MAY values for assertion priorities are in the glossary.

Test Setup

Metadata

Metadata

Assignees

Labels

feedbackIssue raised by or for collecting input from people outside the core project team.testsAbout assistive technology tests

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions