Accessibility conformance results for React Spectrum, ahead of publication (all checks pass, and a thank you) #10442
amansoomro062
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is not the usual issue, so thank you for reading this far. These are accessibility conformance results from Railing, an open source project that tests React component libraries against the W3C ARIA Authoring Practices Guide and publishes the results. React Spectrum is one of the seven libraries measured, and I wanted you to hear the results from me before anything is public.
The short version: React Spectrum passes every check we run. 64 assertions across five components, each citing an APG clause or WCAG success criterion, run three times and discarded if any result varies.
@adobe/react-spectrum@3.47.3@adobe/react-spectrum@3.47.3@adobe/react-spectrum@3.47.3@adobe/react-spectrum@3.47.3@adobe/react-spectrum@3.47.3There is something you should know beyond the numbers: React Spectrum is the calibration control for the whole index. Every new assertion is run against your library first, and a failure there is treated as evidence that our assertion is wrong until proven otherwise. That role exists because of the reputation your team's accessibility work has earned; several of our early runner bugs were caught precisely because "Spectrum failed" was more plausibly our fault than yours, and it always was. The full report and the adapter we used are below so you can check the role is deserved and the mounting is fair.
Components were mounted with default configuration, following your documentation, with no focus management, ARIA attributes or key handlers added by our adapter.
Why tell you at all? Three reasons:
How the measurement works: railing.dev/method · scoring · disclosure policy · source
🔦 Context
This is a courtesy notice ahead of publication rather than a problem report. The full report, including the adapter used to mount your components, is below.
Full report
Accessibility conformance results for React Spectrum
You are hearing this before we publish anything. No score for React Spectrum is on our index, and none will be for at least fourteen days, whatever this report says.
Railing runs component libraries against the W3C ARIA Authoring Practices Guide and publishes the results. Every check cites the clause it measures, every score names an exact version, and every result is run repeatedly and discarded if the answer changes.
The short version
We found nothing to report. React Spectrum passes every check we run. We are telling you anyway, because you should hear about a public score from us rather than find it, and because you may still think we measured something wrongly.
How we tested it
Reproduce any of it from a clone of the repository:
Where we might be wrong
The most likely cause of a wrong result is our adapter, not your library.
We have got this wrong repeatedly. One library's first run scored 27% and almost all of it was a selector of ours. Another was reported as having a broken focus trap when the trap worked and our test was reading focus too early.
So the adapter source is included below. Please tell us if we mounted your component in a way you would not recommend, or if a check misreads the specification. We will correct it and, if it has already been published, correct that too.
Where to check us
What happens next
The adapter we used
This is the whole of the library-specific code. There is nothing else.
accordion.tsxcombobox.tsxdialog.tsxmenu.tsxtabs.tsxThanks for setting the standard the rest of the index is measured against. Literally.
Aman
💻 Code Sample
Everything is reproducible from a clone of https://github.com/amansoomro062/railing, and every scored run has a replayable Playwright trace:
Version
3.47.3
What browsers are you seeing the problem on?
Other
If other, please specify
Chromium 151.0.7922.34 (Playwright)
What operating system are you using?
macOS
All reactions