new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Storybook · all subjects

testing & accessibility

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

a11y addon configuration in Meta object

Accessibility testing with the a11y addon can be configured at the component level in the Meta object's parameters.a11y and globals.a11y properties. These settings apply to all stories in the component unless overridden at the individual story level.

a11y addon configuration in individual stories

Individual stories can override a11y addon configuration by defining parameters.a11y and globals.a11y in the story object with the same configuration options available in the Meta object.

a11y Axe context parameter configuration

The a11y addon's context parameter under parameters.a11y.context allows configuring Axe's context parameter as documented in the axe-core API documentation.

a11y Axe options parameter configuration

The a11y addon's options parameter under parameters.a11y.options allows configuring Axe's options parameter as documented in the axe-core API documentation.

a11y test behavior configuration parameter

The a11y addon's test parameter under parameters.a11y.test configures test behavior. The value 'error' is shown in the examples.

a11y addon parameters configuration structure

The a11y addon parameters can be configured in the Meta object or individual story with the following structure under parameters.a11y: context (Axe's context parameter), config (Axe's configuration), options (Axe's options parameter), and test (configure test behavior, value 'error' shown in examples).

a11y addon globals manual flag

The a11y addon supports a manual flag in globals.a11y to prevent automatic accessibility checks. Setting globals.a11y.manual to true disables automatic checks.

Give your agent this brain