# Members

Who is in a workspace and as what: roles to change, invitations to send and the ones not answered yet.

A members block is where a workspace's owner sees who can get in and as what, changes a role, and asks someone new to join. The people are a [list](https://ui.master.co/components/list.md) on a [sheet](https://ui.master.co/components/surface#sheet), each role a native [select](https://ui.master.co/components/select.md), and the invitation a form in a [dialog](https://ui.master.co/components/dialog.md). The invitations nobody has answered yet stand under the people, apart from them, because an address that was written to is not yet a member.

**Members**

```html
<section class="container-inline flex flex-col gap-lg max-w(720) mx-auto" aria-labelledby="members-title">
  <header class="flex flex-wrap items-end justify-between gap-md">
    <div class="flex flex-col gap-2xs min-w(0)">
      <h2 class="heading heading-lg" id="members-title">Members</h2>
      <p class="m(0) fg-text-muted">Five people work in Atlas Labs. Each takes one seat on Pro.</p>
    </div>
    <button type="button" class="btn btn-primary" commandfor="members-invite" command="show-modal"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L13 8"/><path d="M8 3L8 13"/></svg>Invite a member</button>
  </header>
  <div class="sheet px-md py-xs px-lg@container(--md)">
    <ul class="list">
      <li class="list-row">
        <span class="avatar list-media"><img class="avatar-image" src="/demo/people/yiching-lin.webp" alt="" width="256" height="256"></span>
        <div class="list-body">
          <p class="list-title">Yi-ching Lin <span class="badge badge-sm vertical-middle">You</span></p>
          <p class="list-description">yiching@atlaslabs.dev</p>
        </div>
        <span class="list-end fg-text-muted">Owner</span>
      </li>
      <li class="list-row">
        <span class="avatar list-media"><img class="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256"></span>
        <div class="list-body">
          <p class="list-title">Po-han Chen</p>
          <p class="list-description">pohan@atlaslabs.dev</p>
        </div>
        <div class="list-end flex items-center gap-2xs">
          <select class="select select-sm w(104)@container(--md)" aria-label="Role of Po-han Chen">
            <option class="select-option" selected>Admin</option>
            <option class="select-option">Member</option>
            <option class="select-option">Viewer</option>
          </select>
          <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-pohan" aria-label="More for Po-han Chen"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
          <div id="members-menu-pohan" popover class="menu menu-end">
            <button type="button" class="menu-item" popovertarget="members-menu-pohan" popovertargetaction="hide">Make owner</button>
            <hr class="menu-separator">
            <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-pohan" popovertargetaction="hide">Remove from Atlas Labs</button>
          </div>
        </div>
      </li>
      <li class="list-row">
        <span class="avatar list-media"><img class="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256"></span>
        <div class="list-body">
          <p class="list-title">Misaki Sato</p>
          <p class="list-description">misaki@atlaslabs.dev</p>
        </div>
        <div class="list-end flex items-center gap-2xs">
          <select class="select select-sm w(104)@container(--md)" aria-label="Role of Misaki Sato">
            <option class="select-option" selected>Admin</option>
            <option class="select-option">Member</option>
            <option class="select-option">Viewer</option>
          </select>
          <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-misaki" aria-label="More for Misaki Sato"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
          <div id="members-menu-misaki" popover class="menu menu-end">
            <button type="button" class="menu-item" popovertarget="members-menu-misaki" popovertargetaction="hide">Make owner</button>
            <hr class="menu-separator">
            <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-misaki" popovertargetaction="hide">Remove from Atlas Labs</button>
          </div>
        </div>
      </li>
      <li class="list-row">
        <span class="avatar list-media"><img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256"></span>
        <div class="list-body">
          <p class="list-title">Seo-yeon Kim</p>
          <p class="list-description">seoyeon@atlaslabs.dev</p>
        </div>
        <div class="list-end flex items-center gap-2xs">
          <select class="select select-sm w(104)@container(--md)" aria-label="Role of Seo-yeon Kim">
            <option class="select-option">Admin</option>
            <option class="select-option" selected>Member</option>
            <option class="select-option">Viewer</option>
          </select>
          <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-seoyeon" aria-label="More for Seo-yeon Kim"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
          <div id="members-menu-seoyeon" popover class="menu menu-end">
            <button type="button" class="menu-item" popovertarget="members-menu-seoyeon" popovertargetaction="hide">Make owner</button>
            <hr class="menu-separator">
            <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-seoyeon" popovertargetaction="hide">Remove from Atlas Labs</button>
          </div>
        </div>
      </li>
      <li class="list-row">
        <span class="avatar list-media"><img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt="" width="256" height="256"></span>
        <div class="list-body">
          <p class="list-title">Kenta Nakamura</p>
          <p class="list-description">kenta@atlaslabs.dev</p>
        </div>
        <div class="list-end flex items-center gap-2xs">
          <select class="select select-sm w(104)@container(--md)" aria-label="Role of Kenta Nakamura">
            <option class="select-option">Admin</option>
            <option class="select-option" selected>Member</option>
            <option class="select-option">Viewer</option>
          </select>
          <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-kenta" aria-label="More for Kenta Nakamura"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
          <div id="members-menu-kenta" popover class="menu menu-end">
            <button type="button" class="menu-item" popovertarget="members-menu-kenta" popovertargetaction="hide">Make owner</button>
            <hr class="menu-separator">
            <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-kenta" popovertargetaction="hide">Remove from Atlas Labs</button>
          </div>
        </div>
      </li>
    </ul>
  </div>
  <section class="flex flex-col gap-sm" aria-labelledby="members-pending-title">
    <h3 class="heading heading-sm" id="members-pending-title">Pending invitations</h3>
    <div class="sheet px-md py-xs px-lg@container(--md)">
      <ul class="list">
        <li class="list-row">
          <div class="list-body">
            <p class="list-title">chiahao@atlaslabs.dev</p>
            <p class="list-description">Member, expires <time datetime="2026-11-28">28 Nov</time></p>
          </div>
          <div class="list-end flex items-center gap-2xs">
            <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to chiahao@atlaslabs.dev">Resend</button>
            <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to chiahao@atlaslabs.dev">Revoke</button>
            <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-chiahao" aria-label="More for the invitation to chiahao@atlaslabs.dev"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
            <div id="members-menu-chiahao" popover class="menu menu-end">
              <button type="button" class="menu-item" popovertarget="members-menu-chiahao" popovertargetaction="hide">Resend invitation</button>
              <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-chiahao" popovertargetaction="hide">Revoke invitation</button>
            </div>
          </div>
          <p class="list-meta"><span>Invited by Po-han Chen on <time datetime="2026-11-21">21 Nov</time></span></p>
        </li>
        <li class="list-row">
          <div class="list-body">
            <p class="list-title">yuna@atlaslabs.dev</p>
            <p class="list-description">Viewer, expires <time datetime="2026-11-30">30 Nov</time></p>
          </div>
          <div class="list-end flex items-center gap-2xs">
            <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to yuna@atlaslabs.dev">Resend</button>
            <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to yuna@atlaslabs.dev">Revoke</button>
            <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-yuna" aria-label="More for the invitation to yuna@atlaslabs.dev"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none"/></svg></button>
            <div id="members-menu-yuna" popover class="menu menu-end">
              <button type="button" class="menu-item" popovertarget="members-menu-yuna" popovertargetaction="hide">Resend invitation</button>
              <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-yuna" popovertargetaction="hide">Revoke invitation</button>
            </div>
          </div>
          <p class="list-meta"><span>Invited by you on <time datetime="2026-11-23">23 Nov</time></span></p>
        </li>
      </ul>
    </div>
  </section>
  <dialog id="members-invite" class="dialog" aria-labelledby="members-invite-title" aria-describedby="members-invite-description">
    <header class="dialog-header">
      <h2 class="dialog-title" id="members-invite-title">Invite a member</h2>
      <p class="dialog-description" id="members-invite-description">They get an email with a link that works for seven days.</p>
    </header>
    <form class="dialog-body flex flex-col gap-md" method="dialog" id="members-invite-form">
      <label class="field">
        Email
        <input class="input" type="email" name="email" autocomplete="off" required autofocus>
      </label>
      <div class="field">
        <label for="members-invite-role">Role</label>
        <select class="select" id="members-invite-role" name="role" aria-describedby="members-invite-role-hint">
          <option class="select-option">Admin</option>
          <option class="select-option" selected>Member</option>
          <option class="select-option">Viewer</option>
        </select>
        <p class="field-hint" id="members-invite-role-hint">A member deploys and reads logs. An admin also manages people and environment variables. A viewer only reads.</p>
      </div>
      <p class="m(0) fg-text-muted">All five seats are taken. A sixth adds $20 a month from the day the invitation is accepted.</p>
    </form>
    <footer class="dialog-footer">
      <button type="button" class="btn" commandfor="members-invite" command="close">Cancel</button>
      <button type="submit" class="btn btn-primary" form="members-invite-form">Send invitation</button>
    </footer>
    <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="members-invite" command="close" aria-label="Close"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 4L12 12"/><path d="M4 12L12 4"/></svg></button>
  </dialog>
</section>
```

Blocks are markup to copy. They take the page's own text color and size; the previews set `fg-text-body text-sm` on the body. Each block is a size container, so it reflows by its own width: in a wide page, a sidebar's worth of room or a dialog.

<a id="anatomy"></a>

## What is in it

- **The count, and what it costs.** The line under the title says how many people there are and that each takes a seat. Whoever adds a person here is spending money, and should know it before the dialog opens.
- **One action for the page.** "Invite a member" is the one primary [button](https://ui.master.co/components/button.md), at the end of the header. It opens the dialog with `commandfor` and `command="show-modal"`, so no script is involved in opening or closing it.
- **People are rows of a `list`.** An [avatar](https://ui.master.co/components/avatar.md) is the `list-media`, the name and the address are the `list-body`, and the role and the row's menu are the `list-end`. The media and the end center on the two lines of words.
- **A role is a native `<select>`.** `select-sm` keeps it the height of the small button beside it. A row has no label to spare, so each select is named for its person: "Role of Po-han Chen".
- **The owner's row has no control.** The person signed in cannot demote or remove themselves, so their role is words in muted ink, and a [badge](https://ui.master.co/components/badge.md) in the title says "You". Ownership moves from another row's [menu](https://ui.master.co/components/menu.md), "Make owner".
- **What cannot be undone is behind the menu**, in the danger ink, and names where the person is removed from. It does not sit in the row as a button: a row of five red buttons makes the page about leaving.
- **Invitations are a second list.** An invitation has an address and no person yet, so its row has no avatar. Its description says the role, who sent it and when it stops working, each date in a `<time>`.
- **The dialog says what the choice costs.** The hint under the role says what each role may do in a sentence, and the last line says that the seats are full and what one more adds. The figures agree with the [billing summary](https://ui.master.co/blocks/billing-summary.md): five seats, $20 each.

The block shows the state a server holds. Changing a role, resending and revoking are requests your application sends; after each, write the result to a `role="status"` region so it is announced, and move focus to the next row when a row leaves.

<a id="roles"></a>

## What each role can do

Before choosing a role, a reader wants to compare them. That is a [table](https://ui.master.co/components/table.md): the roles are the columns, what can be done the rows, and each cell says yes or no. It goes under the members, or on a page of its own that the dialog's hint links to.

**What each role can do**

```html
<section class="container-inline flex flex-col gap-md max-w(720) mx-auto" aria-labelledby="members-roles-title">
  <header class="flex flex-col gap-2xs">
    <h2 class="heading heading-lg" id="members-roles-title">Roles</h2>
    <p class="m(0) fg-text-muted">A workspace has one owner. Every other person is an admin, a member or a viewer.</p>
  </header>
  <div class="sheet overflow-hidden">
    <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="members-roles-title">
      <table class="table">
        <thead>
          <tr class="table-row">
            <th class="table-heading" scope="col"><span class="sr-only">What can be done</span></th>
            <th class="table-heading" scope="col">Owner</th>
            <th class="table-heading" scope="col">Admin</th>
            <th class="table-heading" scope="col">Member</th>
            <th class="table-heading" scope="col">Viewer</th>
          </tr>
        </thead>
        <tbody>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Read deployments and logs</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Deploy a preview</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Promote to production</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Edit environment variables</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Invite and remove people</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Change the plan and pay</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
          <tr class="table-row">
            <th class="table-cell table-primary whitespace-nowrap" scope="row">Delete the workspace</th>
            <td class="table-cell"><svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5"/></svg><span class="sr-only">Yes</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
            <td class="table-cell fg-text-muted"><span aria-hidden="true">–</span><span class="sr-only">No</span></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</section>
```

- **A check and a dash, each with a word.** The check is an [icon](https://ui.master.co/components/icon.md) hidden from assistive technology and the dash a character; beside each is a `sr-only` "Yes" or "No", so a cell is read as an answer and not as "image" or nothing.
- **The rows run from what everyone may do to what one person may.** Read down a column and a role ends where its checks end; read along a row and the dashes begin where the permission stops.
- **It scrolls sideways, it does not restack.** A matrix read as cards is no longer a comparison. In a narrow room the `scroll-area` scrolls along the inline axis and fades the edge where columns continue; it has `tabindex="0"`, a role and a name, since nothing inside it takes focus.

<a id="accessibility"></a>

## Accessibility

- The block is a `<section>` named by its `<h2>`. The pending invitations are a section of their own under an `<h3>`, so a reader moving by headings finds both lists.
- A control in a row is named with its row: "Role of Seo-yeon Kim", "More for Seo-yeon Kim", "Revoke the invitation to yuna@atlaslabs.dev". Five controls all called "Role" cannot be told apart in a list of form fields.
- The portraits repeat the names beside them, so their `alt` is empty.
- The dialog is named by its title and described by the sentence under it, and focus goes to the email field when it opens. When it closes, the browser returns focus to the button that opened it.
- The dialog's submit button stands in the footer, outside the form, and is tied to it with `form`. Enter in the email field submits, and the browser's own validation holds the dialog open on an address it cannot send to.

<a id="related"></a>

## Related

- [List](https://ui.master.co/components/list.md)
- [Avatar](https://ui.master.co/components/avatar.md)
- [Select](https://ui.master.co/components/select.md)
- [Menu](https://ui.master.co/components/menu.md)
- [Dialog](https://ui.master.co/components/dialog.md)
- [Table](https://ui.master.co/components/table.md)
- [Scroll area](https://ui.master.co/components/scroll-area.md)
- [Badge](https://ui.master.co/components/badge.md)

- [Billing summary](https://ui.master.co/blocks/billing-summary.md)
- [Table view](https://ui.master.co/blocks/table-view.md)
- [Team](https://ui.master.co/blocks/team.md)
- [Sign in](https://ui.master.co/blocks/sign-in.md)
