<accordion-wc> | Accordion | role="region", aria-expanded, aria-controls, aria-labelledby | A <details> element with a <summary> for each panel; panels are region landmarks only when there are six or fewer |
<activity-feed> | Feed | role="feed", role="group", aria-label, aria-busy, aria-labelledby, aria-describedby, aria-posinset, aria-setsize, aria-hidden, tabindex | An <article data-activity> for each entry, and an aria-label on the feed when the default "Recent activity" does not describe it |
<ai-chat> | Live region | role="log", role="group", aria-live, aria-label, aria-busy, hidden | — |
<ai-summary> | Live region | role="status", aria-live, aria-busy, hidden | — |
<analytics-panel> | Button | role="status", aria-pressed, aria-disabled, aria-describedby, aria-labelledby, aria-hidden, hidden | — |
<audio-player> | Native media controls | role="group", role="status", aria-label, aria-keyshortcuts, aria-pressed, aria-valuetext, aria-hidden, hidden | An <audio> element, and an aria-label on the player when the default "Audio player" does not describe it |
<audio-visualizer> | Decorative canvas | aria-hidden | — |
<author-index> | Native details/summary | role="status", aria-label, aria-hidden, hidden | — |
<brand-mark> | Image with text alternative | alt | Text content naming the brand, or an alt attribute when the logo image stands alone |
<bread-crumb> | Breadcrumb | role="navigation", aria-label, aria-current, aria-expanded | An <ol> of links, or a <nav aria-label> around the list |
<calendar-wc> | Grid | role="grid", role="dialog", aria-label, aria-labelledby, aria-selected, aria-multiselectable, aria-current, aria-disabled, aria-live, aria-hidden, tabindex | — |
<card-list> | Live region | role="status", aria-busy, hidden | A <template> whose markup is accessible on its own (headings, link text, alt text) |
<carousel-wc> | Carousel | role="region", role="group", aria-roledescription, aria-label, aria-current, aria-live, aria-atomic, tabindex, hidden | An aria-label on the carousel when the default "Carousel" does not describe it; an aria-label on a slide replaces the generated "n of total"; data-label-track renames the slide track (default "Slides") |
<change-set> | Button | role="group", aria-label, aria-pressed | <ins> and <del> elements marking the changes |
<chart-wc> | Image with data table alternative | role="img", aria-hidden, aria-label, tabindex, hidden | A data table or data source, and a data-title (used as the table caption or the image name) |
<chat-input> | Native form controls | aria-label | A <textarea> with a label (otherwise it is named "Message") and a named send button |
<chat-window> | Live region | — | A <chat-thread role="log" aria-live="polite"> with an aria-label, and a chat-input |
<color-picker> | Slider | role="dialog", role="slider", role="group", aria-haspopup, aria-expanded, aria-label, aria-labelledby, aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext, aria-pressed, aria-hidden, tabindex, hidden | An <input type="color"> with a <label> |
<combo-box> | Combobox | role="combobox", role="listbox", role="option", aria-expanded, aria-autocomplete, aria-controls, aria-activedescendant, aria-selected, aria-multiselectable, aria-invalid, aria-live, aria-atomic, aria-label, hidden | A text input with a <label>, and a list of options |
<command-palette> | Combobox | role="combobox", role="listbox", role="group", role="option", aria-label, aria-labelledby, aria-autocomplete, aria-controls, aria-expanded, aria-activedescendant, aria-selected, aria-keyshortcuts, aria-hidden, tabindex, hidden | A label for each command; a label attribute when the default "Command palette" does not describe the dialog |
<comment-box> | Native form controls | role="group", role="status", aria-label, aria-busy, aria-disabled, aria-hidden | A label attribute or an associated <label> (otherwise the field is named "Comment") |
<comment-thread> | Landmark region | role="region", role="group", aria-label, aria-labelledby | An <article data-comment> for each comment, and an aria-label on the thread when the default "Comments" does not describe it |
<comment-wc> | Button | aria-label, aria-disabled, aria-describedby, aria-hidden | A review-surface (from @profpowell/vb-project-planning) for the comment to attach to; without one the button is marked unavailable |
<compare-surface> | Slider | role="slider", role="group", tabindex, aria-label, aria-orientation, aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext | Two child elements to compare, each with its own text alternative, and a label attribute when the default slider name does not fit |
<consent-banner> | Native dialog | aria-labelledby, aria-label, hidden | A <dialog> containing a heading (used as its name) and buttons with value="accept", "reject" or "save" |
<content-lens> | Native form controls | hidden | A data-lens-label on each lens when its data-lens-name does not read well as a radio label |
<content-swap> | Button | inert, aria-pressed, role="button", tabindex | Explicit [data-swap] triggers should be <button> elements with a text label (any other element is given role="button" and tabindex="0"); without triggers a "Show back" toggle button is generated |
<context-menu> | Menu | role="menu", role="menuitem", role="none", role="separator", role="group", aria-haspopup, aria-expanded, aria-controls, aria-description, aria-disabled, aria-keyshortcuts, aria-labelledby, aria-hidden, tabindex | A trigger element and a <menu> of buttons or links with text labels |
<data-table> | Table | aria-sort, aria-expanded, aria-hidden, aria-current, aria-label, aria-live, aria-atomic, role="status", hidden | A <table> with <th> headers, a caption or other accessible name, labelled row checkboxes and a labelled <button data-action="toggle-expand"> for expandable rows |
<date-picker> | Combobox | role="combobox", role="dialog", role="grid", aria-haspopup, aria-expanded, aria-controls, aria-modal, aria-label, aria-labelledby, aria-describedby, aria-selected, aria-current, aria-disabled, aria-required, aria-invalid, aria-hidden, aria-live, aria-atomic, tabindex, hidden | An <input type="date"> with a <label for> (or an aria-label); the label is passed to the generated combobox |
<day-view> | Native list with roving tabindex | role="button", role="group", aria-label, tabindex | Each <calendar-event> needs a <time datetime> and a text title, from which its label is built |
<diagram-wc> | Figure with labelled SVG | aria-labelledby, aria-describedby | A caption attribute, or accTitle and accDescr lines in the Mermaid source, to name and describe the diagram |
<drag-surface> | Sortable list | role="list", role="listitem", role="status", tabindex, aria-disabled, aria-pressed, aria-description, aria-label, aria-live, aria-atomic, hidden | An aria-label on the surface (used in announcements) and readable text or an aria-label in each draggable item. Every item is a tab stop and is described with how to move it |
<drop-down> | Menu button | role="menu", role="menuitem", role="none", role="separator", aria-haspopup, aria-expanded, aria-controls, aria-disabled, aria-label, tabindex | A trigger with a text label and a <menu> of buttons or links; in hover (navigation) mode the list keeps link semantics and a toggle button is generated beside a link trigger |
<emoji-picker> | Non-modal dialog with a listbox | role="dialog", role="toolbar", role="listbox", role="group", role="option", role="status", aria-haspopup, aria-expanded, aria-controls, aria-label, aria-current, aria-selected, aria-hidden, tabindex, hidden | A <button data-trigger> with a text label or aria-label (a default name is added when it has no letters) |
<flow-diagram> | Figure with a list of buttons (roving tabindex) | aria-labelledby, aria-label, aria-describedby, aria-hidden, role="status", aria-live, aria-atomic, tabindex | A data-title to name the diagram; otherwise data-label or the default "Flow diagram" is used |
<foot-notes> | Footnote links (DPUB-ARIA) | role="doc-noteref", role="doc-endnotes", role="doc-backlink", role="note", aria-label, aria-labelledby, aria-hidden, inert, hidden, tabindex | — |
<form-field> | Native form controls | aria-describedby, aria-invalid | A <label for> for the control, plus <output class="hint"> and <output class="error" aria-live="polite"> elements for the messages |
<geo-map> | Image, then an application-like region once activated | role="img", role="region", role="group", role="status", aria-label, aria-roledescription, aria-describedby, aria-hidden, aria-live, tabindex, hidden | A place name (label attribute or caption content) so the map image has a meaningful name |
<glossary-index> | Landmark navigation | aria-current, aria-disabled, aria-label, aria-hidden, role="status", aria-live, aria-atomic, hidden, tabindex | A <nav class="glossary-jump"> with an aria-label, and letter sections with ids and headings |
<glossary-wc> | Disclosure | role="region", role="status", role="alert", role="link", aria-label, aria-controls, aria-expanded, aria-disabled, aria-hidden, aria-live, aria-atomic, hidden, tabindex | A <dl> of terms (or a src) with text in every <dt> |
<heading-links> | Link | aria-label, aria-labelledby, tabindex | Headings with text content inside the element |
<highlight-wc> | Disclosure | aria-expanded, aria-controls, aria-pressed, aria-label, aria-hidden, role="group", hidden | — |
<icon-wc> | Image | role="img", aria-label, aria-hidden | A label attribute when the icon conveys meaning on its own; without it the icon is hidden from assistive technology |
<image-gallery> | Native dialog | aria-label, aria-expanded, aria-controls, hidden | Thumbnail links that each contain an <img> with alt text |
<image-map> | Group of links and buttons with tooltips | role="group", role="tooltip", aria-label, aria-describedby, aria-expanded, aria-controls, aria-disabled, aria-hidden, tabindex, hidden | An <img> with alt text (used as the group name) and a label or text content on each <map-area> |
<include-file> | Live region | aria-busy, role="alert" | — |
<markdown-editor> | Native form controls | role="group", aria-label, aria-describedby | A <label for> pointing at the authored <textarea>; without one the textarea is named "Markdown source" |
<markdown-viewer> | Live region | role="note", role="alert" | A fallback <pre> child if the raw source should stay readable when rendering fails |
<nav-bar> | Landmark navigation | role="navigation", aria-current | An aria-label on the host, or on the wrapped <nav>, that names the navigation |
<note-wc> | Dialog (non-modal) | role="dialog", aria-label, aria-hidden, tabindex | — |
<notification-wc> | Non-modal dialog with tabs | aria-haspopup, aria-expanded, aria-controls, aria-label, role="dialog", role="status", role="alert", aria-labelledby, role="tablist", role="tab", role="tabpanel", aria-selected, tabindex, role="list", aria-hidden, hidden, popover | In banner mode, a dismiss button with an accessible name; in panel mode, an accessible name on an authored trigger |
<page-info> | Native details/summary | aria-label, aria-hidden | — |
<page-toc> | Landmark navigation | aria-label, aria-current, tabindex | Headings that have an id and text content inside the scoped container |
<page-tools> | Toolbar | role="toolbar", aria-label, aria-orientation, tabindex, aria-hidden, popover, hidden | Child controls that each have an accessible name |
<page-tour> | Dialog (modal) | role="dialog", aria-modal, aria-label, tabindex, aria-hidden, aria-live, aria-atomic, aria-disabled, aria-describedby, popover | A heading (h2 to h4) in each tour-step; it receives focus and is announced |
<pager-wc> | Landmark navigation | aria-label, aria-current, aria-live, aria-hidden, role="list", disabled, tabindex | An aria-label on the host when the default name "Pagination" is not specific enough |
<poll-wc> | Radio group | role="radiogroup", role="radio", role="group", role="checkbox", aria-checked, aria-disabled, aria-busy, aria-label, aria-labelledby, aria-live, aria-hidden, tabindex | A question element or an aria-label on the host to name the option group |
<pop-over> | Native popover | popover | A trigger button with popovertarget set to the element's id |
<popularity-index> | Native links in an ordered list | aria-busy | — |
<print-page> | Native button | aria-label, aria-hidden, role="group" | — |
<progress-tracker> | Native ordered list of steps | aria-current, aria-label, aria-hidden | An <ol> whose items carry a text label for each step |
<qr-code> | Image | role="img", aria-label, aria-description, aria-hidden, hidden | A data-label-prefix when the code needs a name of its own; the encoded value is then its description |
<reaction-bar> | Toolbar | role="toolbar", aria-label, tabindex, aria-pressed, aria-busy, aria-disabled, aria-haspopup, aria-expanded, role="dialog", role="group", aria-hidden, popovertarget | A data-label or aria-label on each reaction button that names the emoji |
<reader-view> | Toggle buttons with a paged region | role="region", role="group", aria-label, aria-pressed, aria-live, aria-hidden, inert, tabindex | — |
<reading-progress> | Decorative progress bar | aria-hidden | — |
<recently-visited> | Button | aria-pressed, aria-disabled, aria-label | — |
<score-card> | Static content | aria-busy | — |
<selection-menu> | Toolbar | role="toolbar", aria-orientation, aria-label, aria-keyshortcuts, tabindex, popover, hidden | Child buttons or links that each have an accessible name |
<settings-panel> | Dialog (non-modal) | aria-haspopup, aria-expanded, aria-controls, aria-label, role="dialog", tabindex, role="status", role="group", aria-labelledby, aria-hidden, hidden | — |
<share-wc> | Native buttons in a named group | role="group", aria-label, aria-hidden | — |
<short-cuts> | Native dialog | aria-labelledby, aria-label, aria-hidden | — |
<site-index> | Landmark navigation | role="status", aria-label, aria-current, aria-disabled, aria-expanded, tabindex, hidden | A <nav> with an aria-label holding one <section> per letter, each with an <h2> and a list of terms |
<site-map> | Native details/summary (default mode); Tree view (ia-tree mode) | role="tree", role="treeitem", role="group", aria-expanded, aria-current, aria-label, aria-hidden, aria-activedescendant, aria-selected, aria-level, aria-setsize, aria-posinset, aria-valuetext, tabindex roving, hidden | A <nav> with an aria-label wrapping nested lists of links, grouped with <details> in the default mode |
<site-search> | Combobox in a native dialog | role="combobox", role="listbox", role="option", role="status", aria-haspopup, aria-expanded, aria-controls, aria-autocomplete, aria-activedescendant, aria-selected, aria-label, aria-hidden, tabindex | Optionally a trigger button with an accessible name; a labelled search button is generated when none is authored |
<slide-accept> | Slider | role="slider", role="status", aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext, aria-label, aria-describedby, aria-disabled, tabindex | Text content that names the action; it becomes the slider's accessible name |
<social-embed> | Button | role="status", aria-disabled, tabindex, title | A fallback link to the post as content, and data-title when the default frame title does not fit |
<social-feed> | A labelled, focusable scrolling region holding a WAI-ARIA feed (activity-feed) of articles | tabindex | — |
<social-links> | A list of native links | — | — |
<split-surface> | Window splitter | role="separator", aria-controls, aria-orientation, aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext, aria-label, tabindex, inert | Two child panels; set data-label-resize when the default "Resize panels" name does not fit |
<star-rating> | Native form controls | role="img", role="status", aria-label, aria-hidden | A label attribute naming what is rated; the legend defaults to "Rating" |
<status-wc> | Live region | role="status", aria-live, aria-hidden | Text content or a data-variant, so the status has a text label |
<stepper-wc> | Spin button | role="spinbutton", aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext, aria-label, aria-labelledby, aria-disabled, aria-readonly, aria-hidden, tabindex | A <label>, aria-labelledby or aria-label for the host; it is forwarded to the spin button |
<tab-set> | Native details/summary (exclusive group) | role="group", aria-controls, aria-labelledby, aria-expanded | Child <details> elements, each with a <summary> and a <section> panel |
<text-reader> | Native form controls | role="group", aria-label, aria-pressed, aria-hidden, hidden, popover | — |
<theme-picker> | Non-modal dialog with native form controls | role="dialog", role="group", role="radiogroup", aria-haspopup, aria-expanded, aria-controls, aria-label, aria-labelledby, aria-busy, aria-hidden | Optionally a trigger button with an accessible name; a labelled palette button is generated when none is authored |
<time-index> | Native form controls | role="status", aria-live, aria-label, aria-labelledby, hidden | — |
<time-picker> | Combobox with a dialog popup of spin buttons | role="combobox", role="dialog", role="spinbutton", aria-haspopup, aria-expanded, aria-controls, aria-modal, aria-label, aria-labelledby, aria-describedby, aria-valuemin, aria-valuemax, aria-valuenow, aria-valuetext, aria-readonly, aria-required, aria-invalid, aria-hidden, tabindex | A child <input type="time"> with a <label>; the label is forwarded to the generated text input |
<toast-msg> | Live region | role="log", aria-live, aria-relevant, aria-label, aria-hidden | — |
<tool-tip> | Tooltip | role="tooltip", aria-describedby, aria-label, aria-controls, aria-expanded, aria-hidden, popover, interestfor | A focusable trigger as the first child, and the tip text in a template, the content attribute or the trigger's title |
<topic-map> | Native details/summary | — | — |
<trust-filter> | Native form controls | aria-label, aria-live, hidden | — |
<version-switcher> | Native popover | role="dialog", role="list", role="listitem", role="status", aria-haspopup, aria-expanded, aria-label, aria-labelledby, aria-describedby, aria-current, aria-hidden, tabindex, hidden | An aria-label on the host when the default trigger name does not fit |
<video-player> | Media player with custom controls built from native buttons and range inputs | role="group", role="status", tabindex, aria-label, aria-keyshortcuts, aria-pressed, aria-valuetext, aria-live, aria-hidden, inert, hidden | A child <video>, with a captions <track> where speech is present; set aria-label when the default player name does not fit |
<watch-wc> | Button | aria-pressed, aria-label, aria-hidden, title | — |
<week-view> | Native table with roving focus across events | role="button", role="group", aria-label, aria-current, aria-hidden, tabindex roving | Child <calendar-event> elements with a data-date and a <time>, each with text that names the event |
<youtube-player> | Button | aria-label, title | A title attribute naming the video; it names the play button and the player frame |