Description
Check exact membership in availableFormats and label available or not listed.
Accessibility decisions depend on the person, context, content, and relevant design requirements. A supplied measurement or formatting check addresses one condition and cannot establish that an entire interface, sign, or space is accessible.
Check exact membership in availableFormats and label available or not listed.
When to use this tool
Use Access Request Preferred Format when you need one documented accessibility component under a supplied criterion.
How to use the tool and how it works
- Enter requestCode, preferredFormat, availableFormats. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read available, label. Inspect available before interpreting the associated values.
Require nonempty requestCode and preferredFormat. Check exact membership in availableFormats and label available or not listed.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| requestCode | Request Code | Required. Text; maximum UTF-16 length 8192. |
| preferredFormat | Preferred Format | Required. Text; maximum UTF-16 length 8192. |
| availableFormats | Available Formats | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| available | Available | Required. Boolean. |
| label | Formatted label for the supplied components under the convention above. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"requestCode": "R17",
"preferredFormat": "large-print",
"availableFormats": [
"audio",
"large-print"
]
},
"output": {
"available": true,
"label": "R17; preferred format=large-print; available"
}
} Limitations and assumptions
- Format labels are supplied and unnormalized; actual accessible delivery, usability, individual needs, and accommodation obligations are not verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Evaluate the complete experience with relevant guidance, appropriate expertise, and people who use the access features.
References
Similar or alternative tools
- Communication Channel Format Match
Require nonempty requiredFormat and test exact membership in supportedFormats.
- Dialogue Language Access Gap
Deduplicate requestedLanguages and return the exact strings absent from supportedLanguages.