Skip to content

Custom UI Checklist ​

The items to check in the design and implementation of a custom UI.

Not available in the check sheet

You cannot record judgments for this checklist in the check sheet or export it to the record sheet (Excel).

The pattern blocks are examples. When you build a new custom UI, choose a prefix for its pattern and add a block.

Check items ​

Common ​

Common check items
IDLevelItemHow to check
UI-01SHOULD
Design
Each custom UI records why a native element (including one styled with appearance: none) cannot meet the requirementsCheck that the spec or ticket states why <select>, <dialog>, <details> or similar cannot do the job
UI-02MUST
Design
Related: DS-14
Every interactive component has its interaction states defined
① Default
② Hover
③ Focus (a visible focus indicator)
④ Pressed
⑤ Disabled
Check that each component in the design file has variants for ① to ⑤ (for example, Button / Focus / Primary)
UI-03MUST
Design
Components that show data have empty, loading and error states defined
① The empty state has a heading and an action that resolves it
② The loading state has a skeleton or progress indicator
③ The error state has a plain message and a way to recover, such as retry
Applies when the page has a component that fetches data asynchronously
Check that the design file has Empty, Loading and Error frames showing ① to ③
UI-04MUST
Design
Related: DS-01
Form controls have placeholder, filled, error and success states defined, and the error state is shown in text, not by color alone
Applies when the page has a custom form control
Check that the form component frames have the four states and the error state has an error text layer
UI-05MUST
Design
Related: DS-01
Selected, expanded and similar states are distinguishable by a change of shape (an icon, an underline and the like), not by color aloneView the design file in grayscale and check that selected and unselected can still be told apart
UI-06MUST
Implementation
Related: DEV-12, QA-44
Every interactive component shows a focus indicator when focused with Tab (no outline: none without a replacement)Tab through the component and check that every focus position shows an outline or similar. In an AI review, check for outline: none with no replacement
UI-07MUST
Implementation
Related: QA-03
Elements that open, close or run something are <button> elements (not <div> or <span> with a click handler)In the DevTools Accessibility panel, check that the trigger's role is button
UI-08MUST
Implementation
Related: QA-24
State attributes such as aria-expanded, aria-selected and aria-current change with every interaction and match what is shownWhile opening, closing and selecting, check in the DevTools Elements panel that the values change to match the visible state
UI-09MUST NOT
Implementation
No role or aria-* attribute is added without the keyboard interaction it impliesIn an AI review, check that elements with role="tab", role="menu", role="combobox" and the like have the key handling of their pattern
UI-10MUST
Implementation
The disabled state is expressed with the disabled attribute or aria-disabled="true", not only by fading the color
Applies when the page has a control with a disabled state
In the DevTools Accessibility panel, check that the disabled control is exposed as disabled
UI-11MUST
Implementation
Related: QA-06
Every interactive component can be operated with the keyboard alone
① Focus reaches it with Tab
② Enter or Space runs it
③ Overlays (menus, dialogs and the like) close with Esc
Operate the component without a mouse and check ① to ③
UI-12SHOULD
Design
Inputs with a character limit have the remaining-count display and the limit-reached state defined
Applies when the page has an input with a character limit
Check that the design file has frames for typing (with the remaining count) and for the limit reached

Tabs ​

Tabs check items
IDLevelItemHow to check
TAB-01MUST
Implementation
Related: DS-05
The tabs have role="tablist", role="tab" and role="tabpanel", and tabs and panels point to each other with aria-controls and aria-labelledby
Applies when the page has tabs
In the DevTools Elements panel, check that each tab's aria-controls names its panel's id and each panel's aria-labelledby names its tab's id
TAB-02MUST
Implementation
One press of Tab enters the tab list and the next leaves it (only the selected tab has tabindex="0"; the others have tabindex="-1")
Applies when the page has tabs
Press Tab into the tab list, press it again, and check that focus moves to the panel or the next element
TAB-03MUST
Implementation
Related: QA-06
The tab keyboard interaction works as specified
① ← → (↑ ↓ when vertical) move focus and selection to the previous or next tab
② Home End move to the first or last tab
Applies when the page has tabs
Focus a tab, press the keys in ① and ②, and check that focus and the shown panel change together
TAB-04MUST
Implementation
Panels of unselected tabs are hidden with the hidden attribute (not only with a CSS class)
Applies when the page has tabs
In the DevTools Elements panel, check that unselected panels have hidden and do not appear in the Accessibility panel's tree
TAB-05MUST
Design
Related: DS-14
The focus indicator stays visible with enough contrast on the selected tab (filled, underlined and so on)
Applies when the page has tabs
Check that the design file has the selected-plus-focused combination and that the indicator is distinguishable from its background
TAB-06SHOULD
Design
Changing the selection does not shift the following tabs, for example by making only the selected tab bold
Applies when the page has tabs
In the design file, check that selected and unselected tabs use the same font weight, or that padding absorbs the width change
Modal dialog check items
IDLevelItemHow to check
MDL-01MUST
Implementation
The modal dialog is opened with showModal() on a <dialog> element (not by toggling hidden or with show())
Applies when the page has a modal dialog
With the dialog open, check in the DevTools Elements panel that the <dialog> has ::backdrop, and check that Tab does not leave the dialog
MDL-02MUST
Implementation
Related: QA-21
The <dialog> has aria-labelledby pointing to the heading inside it
Applies when the page has a modal dialog
In the DevTools Accessibility panel, check that the dialog's name is the heading text
MDL-03MUST
Implementation
Related: QA-10
Esc closes the dialog and focus returns to the button that opened it
Applies when the page has a modal dialog
Open the dialog with the keyboard, press Esc, and check that the opening button has focus. Check the same when closing with the close button
MDL-04MUST NOT
Design
Related: DS-01
Buttons for irreversible actions such as deleting are not marked by color alone, such as red (add a warning icon or a label such as "Delete")
Applies when the page has a dialog that confirms a destructive action
In the design file, check that the destructive button has a label or an icon
MDL-05SHOULD
Implementation
A dialog with a form being filled in does not close on a backdrop click
Applies when the page has a modal dialog with input fields
Type into a field, click the backdrop (::backdrop), and check that the dialog stays open
MDL-06SHOULD
Design
When the content is taller than the screen, the dialog header and action buttons stay on screen and only the content scrolls
Applies when the page has a modal dialog
Check that the design file specifies a dialog with long content. In the implementation, reduce the window height and check that the buttons stay visible
Menu button check items
IDLevelItemHow to check
MNB-01MUST
Implementation
Related: QA-24
The menu button has aria-haspopup="true", and aria-expanded switches between true and false as the menu opens and closes
Applies when the page has a menu button
Open and close the menu and check in the DevTools Elements panel that aria-expanded changes
MNB-02MUST
Implementation
Related: QA-06
The menu keyboard interaction works as specified
① ↓ on the trigger opens the menu and focuses the first item
② ↑ ↓ cycle through the items, and Home End move to the first or last
③ Enter Space run the item and close the menu
Applies when the page has a menu button
Focus the trigger, press the keys in ① to ③ in order, and check the behavior
MNB-03MUST
Implementation
Menu items receive real DOM focus, not aria-activedescendant
Applies when the page has a menu button
Move through the items with ↓ and check in the DevTools Elements panel that the focused element (:focus) is the role="menuitem" item
MNB-04MUST
Implementation
The menu closes as specified
① Esc closes it and focus returns to the trigger
② Tab closes it and focus moves on to the next element
③ A click outside the menu closes it
Applies when the page has a menu button
With the menu open, try ① to ③ one at a time and check the focus position and aria-expanded="false" after closing

Combobox ​

Combobox check items
IDLevelItemHow to check
CBX-01MUST
Implementation
The combobox input has role="combobox", aria-autocomplete="list" and aria-controls (the listbox's id), and aria-expanded follows whether the options are shown
Applies when the page has a combobox
Type to show and hide the options, and check each attribute and the aria-expanded value in the DevTools Elements panel
CBX-02MUST
Implementation
While ↑ ↓ move through the options, DOM focus stays in the input and the highlighted option's id is set in aria-activedescendant
Applies when the page has a combobox
Press ↓ and check that focus stays in the input (the outline does not move to an option) and that aria-activedescendant in the DevTools Elements panel changes to the highlighted option's id
CBX-03MUST
Implementation
Enter commits the highlighted option and closes the list, and Esc closes it without changing the input value
Applies when the page has a combobox
Highlight an option and check that Enter fills it in; highlight another and check that Esc leaves the value unchanged
CBX-04MUST
Implementation
Related: QA-67
Each time the options are filtered, the number of options is announced in a status message (role="status" or aria-live="polite")
Applies when the page has a combobox
Type and check in the DevTools Elements panel that the status text changes with the count. Check the announcement with a screen reader
CBX-05MUST
Implementation
Clicking outside the input and the list closes the list without committing a value
Applies when the page has a combobox
Highlight an option, click outside, and check that the value is unchanged and aria-expanded="false"

Tooltip ​

Tooltip check items
IDLevelItemHow to check
TIP-01MUST
Implementation
Related: DEV-13, QA-54
The tooltip appears on keyboard focus as well as on hover, and Esc closes it while focus stays put
Applies when the page has a tooltip
Focus the trigger with Tab and check that the tooltip appears, and that focus stays on the trigger after Esc closes it
TIP-02MUST
Implementation
The tooltip has role="tooltip" and its id is in the trigger's aria-describedby (it does not override the accessible name)
Applies when the page has a tooltip
In the DevTools Accessibility panel, check that the trigger keeps its name and that its Description holds the tooltip text
TIP-03MUST NOT
Design
No links or buttons are placed inside a tooltip (use a popover or dialog for content that needs interaction)
Applies when the page has a tooltip
In the design file, check that no tooltip contains a control
TIP-04MUST NOT
Implementation
The title attribute is not used in place of a tooltip
Applies when the page has a tooltip
In an AI review, check that no supplementary label is given only through a title attribute
TIP-05SHOULD
Implementation
For a trigger near the edge of the screen, the tooltip flips its position instead of being cut off
Applies when the page has a tooltip
Scroll the trigger to the top of the screen, hover it, and check that the whole tooltip is on screen

Toast ​

Toast check items
IDLevelItemHow to check
TST-01MUST
Implementation
Related: QA-67
The live region for toasts (role="status" aria-live="polite") is in the DOM, empty, from page load
Applies when the page has toasts
Right after load, before any notification, check in the DevTools Elements panel that the empty live region exists
TST-02MUST
Implementation
Ordinary completion messages use polite, and aria-live="assertive" or role="alert" is used only for urgent errors
Applies when the page has toasts
In an AI review, check that assertive and role="alert" are used only for urgent errors
TST-03MUST NOT
Implementation
Focus does not move to a toast when it appears
Applies when the page has toasts
Press the button that triggers a notification with the keyboard and check that focus stays on the button
TST-04MUST NOT
Design
Important results such as deletions or updates are not conveyed by a toast alone (the list or the updated value also shows it)
Applies when the page has toasts
In the design file, check that the screen after the action reflects the result
TST-05SHOULD
Design
The maximum number of toasts shown at once (about 3 or 4) and the time before they disappear are defined
Applies when the page has toasts
Check that the spec states the maximum count and the display time
TST-06SHOULD
Implementation
The auto-dismiss timer pauses while the pointer is over a toast
Applies when the page has toasts
Trigger a notification, hover it right away, and check that it stays after the display time passes