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

GitHub Primer · all subjects

action-list/accessibility

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

Action list accessibility: filter results

If an action list is being used to display a filtered list of options, a screen reader should announce when filtering is completed. See the conveying status (filter results) section of the loading state pattern guidelines for more information.

Action list accessibility: inactive items and tooltips

If an action list item is inactive, it will no longer be an anchor or button element, so it will not be focusable. Having a tooltip on the leading visual is the only way to distinguish between inactive items and for keyboard-only screen reader users to see these are inactive. The tooltip and optional dialog should be triggered by a button element that wraps the leading visual.

Action list accessibility: inline descriptions

All ActionList.Description components are rendered inline (next to the label) by default. When the description is too long to fit within one line, the content wraps to a new line. The content can be truncated with an ellipsis by setting the truncate prop on the ActionList.Description component. Truncating an inline description is only acceptable if the full, non-truncated text can be seen in a subsequent page or screen. The truncate option is currently implemented in Primer React only and is not available in Primer View Components, where inline descriptions wrap by default.

Give your agent this brain