导航

v2.1.0
营销区块

招聘

列出开放职位及其所属团队、工作地点和用工形式,并提供申请入口。

招聘区块列出正在开放的职位:这份工作是什么、属于哪个团队、在哪里办公、采用何种用工形式,以及申请入口。候选人根据这四项信息决定是否继续往下读,因此每一行都要把它们写全。职位是面板上的一个列表。

招聘

<section class="container-inline px-lg py-4xl" aria-labelledby="careers-title">  <div class="flex flex-col gap-xl max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <p class="eyebrow">Careers</p>      <h2 class="heading heading-2xl" id="careers-title">        Help make Friday an ordinary day to ship.      </h2>      <p class="lead max-w(560)">        Atlas is a small team in Taipei, Tokyo and Seoul. Five roles are open.      </p>    </header>    <div class="sheet p-xs">      <ul class="list list-interactive">        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Senior build systems engineer</span>              <span class="list-description">                Engineering · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" />              </svg>            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Edge network engineer</span>              <span class="list-description">                Engineering · Tokyo<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" />              </svg>            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Product designer</span>              <span class="list-description">                Design · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" />              </svg>            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Developer advocate</span>              <span class="list-description">                Developer experience · Seoul<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" />              </svg>            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Support engineer</span>              <span class="list-description">                Support · Remote<span class="hidden@container(--md)">· Part-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Part-time</span><svg class="icon" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">                <path d="M7.5 4.5L12.8586 9.8586A0.2 0.2 0 0 1 12.8586 10.1414L7.5 15.5" />              </svg>            </span>          </a>        </li>      </ul>    </div>    <p class="m(0) fg-text-muted">      Nothing that fits? Write to <a class="link" href="mailto:careers@atlas.dev">careers@atlas.dev</a> and say what you would do here.    </p>  </div></section>
import ChevronRightIcon from '@master/icons-react/native/20/soft/chevron-right'<section className="container-inline px-lg py-4xl" aria-labelledby="careers-title">  <div className="flex flex-col gap-xl max-w(720) mx-auto">    <header className="flex flex-col gap-sm">      <p className="eyebrow">Careers</p>      <h2 className="heading heading-2xl" id="careers-title">        Help make Friday an ordinary day to ship.      </h2>      <p className="lead max-w(560)">        Atlas is a small team in Taipei, Tokyo and Seoul. Five roles are open.      </p>    </header>    <div className="sheet p-xs">      <ul className="list list-interactive">        <li>          <a className="list-row" href="#careers-title">            <span className="list-body">              <span className="list-title">Senior build systems engineer</span>              <span className="list-description">                Engineering · Taipei or remote<span className="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span className="list-end">              <span className="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon className="icon" />            </span>          </a>        </li>        <li>          <a className="list-row" href="#careers-title">            <span className="list-body">              <span className="list-title">Edge network engineer</span>              <span className="list-description">                Engineering · Tokyo<span className="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span className="list-end">              <span className="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon className="icon" />            </span>          </a>        </li>        <li>          <a className="list-row" href="#careers-title">            <span className="list-body">              <span className="list-title">Product designer</span>              <span className="list-description">                Design · Taipei or remote<span className="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span className="list-end">              <span className="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon className="icon" />            </span>          </a>        </li>        <li>          <a className="list-row" href="#careers-title">            <span className="list-body">              <span className="list-title">Developer advocate</span>              <span className="list-description">                Developer experience · Seoul<span className="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span className="list-end">              <span className="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon className="icon" />            </span>          </a>        </li>        <li>          <a className="list-row" href="#careers-title">            <span className="list-body">              <span className="list-title">Support engineer</span>              <span className="list-description">                Support · Remote<span className="hidden@container(--md)">· Part-time</span>              </span>            </span>            <span className="list-end">              <span className="badge hidden inline-flex@container(--md)">Part-time</span><ChevronRightIcon className="icon" />            </span>          </a>        </li>      </ul>    </div>    <p className="m(0) fg-text-muted">      Nothing that fits? Write to <a className="link" href="mailto:careers@atlas.dev">careers@atlas.dev</a> and say what you would do here.    </p>  </div></section>
<script>  import ChevronRightIcon from '@master/icons-svelte/native/20/soft/chevron-right'</script><section class="container-inline px-lg py-4xl" aria-labelledby="careers-title">  <div class="flex flex-col gap-xl max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <p class="eyebrow">Careers</p>      <h2 class="heading heading-2xl" id="careers-title">        Help make Friday an ordinary day to ship.      </h2>      <p class="lead max-w(560)">        Atlas is a small team in Taipei, Tokyo and Seoul. Five roles are open.      </p>    </header>    <div class="sheet p-xs">      <ul class="list list-interactive">        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Senior build systems engineer</span>              <span class="list-description">                Engineering · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Edge network engineer</span>              <span class="list-description">                Engineering · Tokyo<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Product designer</span>              <span class="list-description">                Design · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Developer advocate</span>              <span class="list-description">                Developer experience · Seoul<span class="hidden@container(--md)">· Full-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />            </span>          </a>        </li>        <li>          <a class="list-row" href="#careers-title">            <span class="list-body">              <span class="list-title">Support engineer</span>              <span class="list-description">                Support · Remote<span class="hidden@container(--md)">· Part-time</span>              </span>            </span>            <span class="list-end">              <span class="badge hidden inline-flex@container(--md)">Part-time</span><ChevronRightIcon class="icon" />            </span>          </a>        </li>      </ul>    </div>    <p class="m(0) fg-text-muted">      Nothing that fits? Write to <a class="link" href="mailto:careers@atlas.dev">careers@atlas.dev</a> and say what you would do here.    </p>  </div></section>
<script setup>import ChevronRightIcon from '@master/icons-vue/native/20/soft/chevron-right'</script><template>  <section class="container-inline px-lg py-4xl" aria-labelledby="careers-title">    <div class="flex flex-col gap-xl max-w(720) mx-auto">      <header class="flex flex-col gap-sm">        <p class="eyebrow">Careers</p>        <h2 class="heading heading-2xl" id="careers-title">          Help make Friday an ordinary day to ship.        </h2>        <p class="lead max-w(560)">          Atlas is a small team in Taipei, Tokyo and Seoul. Five roles are open.        </p>      </header>      <div class="sheet p-xs">        <ul class="list list-interactive">          <li>            <a class="list-row" href="#careers-title">              <span class="list-body">                <span class="list-title">Senior build systems engineer</span>                <span class="list-description">                  Engineering · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>                </span>              </span>              <span class="list-end">                <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />              </span>            </a>          </li>          <li>            <a class="list-row" href="#careers-title">              <span class="list-body">                <span class="list-title">Edge network engineer</span>                <span class="list-description">                  Engineering · Tokyo<span class="hidden@container(--md)">· Full-time</span>                </span>              </span>              <span class="list-end">                <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />              </span>            </a>          </li>          <li>            <a class="list-row" href="#careers-title">              <span class="list-body">                <span class="list-title">Product designer</span>                <span class="list-description">                  Design · Taipei or remote<span class="hidden@container(--md)">· Full-time</span>                </span>              </span>              <span class="list-end">                <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />              </span>            </a>          </li>          <li>            <a class="list-row" href="#careers-title">              <span class="list-body">                <span class="list-title">Developer advocate</span>                <span class="list-description">                  Developer experience · Seoul<span class="hidden@container(--md)">· Full-time</span>                </span>              </span>              <span class="list-end">                <span class="badge hidden inline-flex@container(--md)">Full-time</span><ChevronRightIcon class="icon" />              </span>            </a>          </li>          <li>            <a class="list-row" href="#careers-title">              <span class="list-body">                <span class="list-title">Support engineer</span>                <span class="list-description">                  Support · Remote<span class="hidden@container(--md)">· Part-time</span>                </span>              </span>              <span class="list-end">                <span class="badge hidden inline-flex@container(--md)">Part-time</span><ChevronRightIcon class="icon" />              </span>            </a>          </li>        </ul>      </div>      <p class="m(0) fg-text-muted">        Nothing that fits? Write to <a class="link" href="mailto:careers@atlas.dev">careers@atlas.dev</a> and say what you would do here.      </p>    </div>  </section></template>

区块提供可直接复制的标记,沿用页面自身的文字颜色和字号。预览在 body 上设置 fg-text-body text-sm。每个区块都是尺寸容器,会按自身宽度重排。

#区块组成

  • 导语中写明职位数量。 “Five roles are open”(目前开放五个职位)让访客在滚动之前就知道列表有多长,并且与下方的行数一致。
  • 一条阅读栏,max-w(720):人们沿着起始侧边缘向下扫读职位列表,行再宽只会让用工形式离它所属的职位名称更远。
  • 每个职位是一个链接。 列表使用 list list-interactive,每一行是一个 <a class="list-row">,因此整行都是点击目标,会响应指针,在触摸屏上高度至少为 44px。面板的 p-xs 为各行的圆角表面留出空间。
  • 标题是职位名称;标题下的一行是团队和地点,以间隔号分开。两者都只占一行,因此地点怎么说就怎么写,尽量简短:“Taipei or remote”(台北或远程)。
  • 用工形式是一个中性徽标,位于行尾。“Full-time”(全职)和“Part-time”(兼职)是文字,而职位的用工形式不是状态,因此徽标不带色相。
  • 徽标之后的箭头表示这一行会通往别处。它只是装饰,设置了 aria-hidden。
  • 为未列出的职位留一个入口:面板下方一行弱化的文字,附一个邮箱地址。

#按团队分组

如果职位很多,或者候选人会先找团队,就把职位分组。每个团队是折叠面板的一行:使用原生 <details>,因此每个职位都在页面中,可供搜索和页内查找,展开也不需要脚本。各行共用同一个 name,从而每次只展开一个团队。

按团队分组

<section class="container-inline px-lg py-4xl" aria-labelledby="careers-teams-title">  <div class="flex flex-col gap-xl max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <h2 class="heading heading-2xl" id="careers-teams-title">Open roles, by team</h2>      <p class="lead max-w(560)">        Five roles in four teams. Every one works with the whole company, whichever city it is in.      </p>    </header>    <div class="sheet px-lg py-xs">      <div class="accordion">        <details class="accordion-item" name="careers-team" open>          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Engineering <span class="badge badge-sm">2 roles</span>            </span><svg class="icon accordion-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">              <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" />            </svg>          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Senior build systems engineer</p>                  <p class="list-description">Taipei or remote · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Senior build systems engineer">                    Apply                  </a>                </span>              </li>              <li class="list-row">                <div class="list-body">                  <p class="list-title">Edge network engineer</p>                  <p class="list-description">Tokyo · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Edge network engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Design <span class="badge badge-sm">1 role</span>            </span><svg class="icon accordion-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">              <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" />            </svg>          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Product designer</p>                  <p class="list-description">Taipei or remote · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Product designer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Developer experience <span class="badge badge-sm">1 role</span>            </span><svg class="icon accordion-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">              <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" />            </svg>          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Developer advocate</p>                  <p class="list-description">Seoul · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Developer advocate">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Support <span class="badge badge-sm">1 role</span>            </span><svg class="icon accordion-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">              <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" />            </svg>          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Support engineer</p>                  <p class="list-description">Remote · Part-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Support engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>      </div>    </div>  </div></section>
import ChevronDownIcon from '@master/icons-react/native/16/soft/chevron-down'<section className="container-inline px-lg py-4xl" aria-labelledby="careers-teams-title">  <div className="flex flex-col gap-xl max-w(720) mx-auto">    <header className="flex flex-col gap-sm">      <h2 className="heading heading-2xl" id="careers-teams-title">Open roles, by team</h2>      <p className="lead max-w(560)">        Five roles in four teams. Every one works with the whole company, whichever city it is in.      </p>    </header>    <div className="sheet px-lg py-xs">      <div className="accordion">        <details className="accordion-item" name="careers-team" open>          <summary className="accordion-trigger">            <span className="flex items-center gap-xs">              Engineering <span className="badge badge-sm">2 roles</span>            </span><ChevronDownIcon className="icon accordion-chevron" />          </summary>          <div className="accordion-content pxe(0)">            <ul className="list">              <li className="list-row">                <div className="list-body">                  <p className="list-title">Senior build systems engineer</p>                  <p className="list-description">Taipei or remote · Full-time</p>                </div>                <span className="list-end">                  <a className="link" href="#careers-teams-title" aria-label="Apply for Senior build systems engineer">                    Apply                  </a>                </span>              </li>              <li className="list-row">                <div className="list-body">                  <p className="list-title">Edge network engineer</p>                  <p className="list-description">Tokyo · Full-time</p>                </div>                <span className="list-end">                  <a className="link" href="#careers-teams-title" aria-label="Apply for Edge network engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details className="accordion-item" name="careers-team">          <summary className="accordion-trigger">            <span className="flex items-center gap-xs">              Design <span className="badge badge-sm">1 role</span>            </span><ChevronDownIcon className="icon accordion-chevron" />          </summary>          <div className="accordion-content pxe(0)">            <ul className="list">              <li className="list-row">                <div className="list-body">                  <p className="list-title">Product designer</p>                  <p className="list-description">Taipei or remote · Full-time</p>                </div>                <span className="list-end">                  <a className="link" href="#careers-teams-title" aria-label="Apply for Product designer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details className="accordion-item" name="careers-team">          <summary className="accordion-trigger">            <span className="flex items-center gap-xs">              Developer experience <span className="badge badge-sm">1 role</span>            </span><ChevronDownIcon className="icon accordion-chevron" />          </summary>          <div className="accordion-content pxe(0)">            <ul className="list">              <li className="list-row">                <div className="list-body">                  <p className="list-title">Developer advocate</p>                  <p className="list-description">Seoul · Full-time</p>                </div>                <span className="list-end">                  <a className="link" href="#careers-teams-title" aria-label="Apply for Developer advocate">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details className="accordion-item" name="careers-team">          <summary className="accordion-trigger">            <span className="flex items-center gap-xs">              Support <span className="badge badge-sm">1 role</span>            </span><ChevronDownIcon className="icon accordion-chevron" />          </summary>          <div className="accordion-content pxe(0)">            <ul className="list">              <li className="list-row">                <div className="list-body">                  <p className="list-title">Support engineer</p>                  <p className="list-description">Remote · Part-time</p>                </div>                <span className="list-end">                  <a className="link" href="#careers-teams-title" aria-label="Apply for Support engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>      </div>    </div>  </div></section>
<script>  import ChevronDownIcon from '@master/icons-svelte/native/16/soft/chevron-down'</script><section class="container-inline px-lg py-4xl" aria-labelledby="careers-teams-title">  <div class="flex flex-col gap-xl max-w(720) mx-auto">    <header class="flex flex-col gap-sm">      <h2 class="heading heading-2xl" id="careers-teams-title">Open roles, by team</h2>      <p class="lead max-w(560)">        Five roles in four teams. Every one works with the whole company, whichever city it is in.      </p>    </header>    <div class="sheet px-lg py-xs">      <div class="accordion">        <details class="accordion-item" name="careers-team" open>          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Engineering <span class="badge badge-sm">2 roles</span>            </span><ChevronDownIcon class="icon accordion-chevron" />          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Senior build systems engineer</p>                  <p class="list-description">Taipei or remote · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Senior build systems engineer">                    Apply                  </a>                </span>              </li>              <li class="list-row">                <div class="list-body">                  <p class="list-title">Edge network engineer</p>                  <p class="list-description">Tokyo · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Edge network engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Design <span class="badge badge-sm">1 role</span>            </span><ChevronDownIcon class="icon accordion-chevron" />          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Product designer</p>                  <p class="list-description">Taipei or remote · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Product designer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Developer experience <span class="badge badge-sm">1 role</span>            </span><ChevronDownIcon class="icon accordion-chevron" />          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Developer advocate</p>                  <p class="list-description">Seoul · Full-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Developer advocate">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>        <details class="accordion-item" name="careers-team">          <summary class="accordion-trigger">            <span class="flex items-center gap-xs">              Support <span class="badge badge-sm">1 role</span>            </span><ChevronDownIcon class="icon accordion-chevron" />          </summary>          <div class="accordion-content pxe(0)">            <ul class="list">              <li class="list-row">                <div class="list-body">                  <p class="list-title">Support engineer</p>                  <p class="list-description">Remote · Part-time</p>                </div>                <span class="list-end">                  <a class="link" href="#careers-teams-title" aria-label="Apply for Support engineer">                    Apply                  </a>                </span>              </li>            </ul>          </div>        </details>      </div>    </div>  </div></section>
<script setup>import ChevronDownIcon from '@master/icons-vue/native/16/soft/chevron-down'</script><template>  <section class="container-inline px-lg py-4xl" aria-labelledby="careers-teams-title">    <div class="flex flex-col gap-xl max-w(720) mx-auto">      <header class="flex flex-col gap-sm">        <h2 class="heading heading-2xl" id="careers-teams-title">Open roles, by team</h2>        <p class="lead max-w(560)">          Five roles in four teams. Every one works with the whole company, whichever city it is in.        </p>      </header>      <div class="sheet px-lg py-xs">        <div class="accordion">          <details class="accordion-item" name="careers-team" open>            <summary class="accordion-trigger">              <span class="flex items-center gap-xs">                Engineering <span class="badge badge-sm">2 roles</span>              </span><ChevronDownIcon class="icon accordion-chevron" />            </summary>            <div class="accordion-content pxe(0)">              <ul class="list">                <li class="list-row">                  <div class="list-body">                    <p class="list-title">Senior build systems engineer</p>                    <p class="list-description">Taipei or remote · Full-time</p>                  </div>                  <span class="list-end">                    <a class="link" href="#careers-teams-title" aria-label="Apply for Senior build systems engineer">                      Apply                    </a>                  </span>                </li>                <li class="list-row">                  <div class="list-body">                    <p class="list-title">Edge network engineer</p>                    <p class="list-description">Tokyo · Full-time</p>                  </div>                  <span class="list-end">                    <a class="link" href="#careers-teams-title" aria-label="Apply for Edge network engineer">                      Apply                    </a>                  </span>                </li>              </ul>            </div>          </details>          <details class="accordion-item" name="careers-team">            <summary class="accordion-trigger">              <span class="flex items-center gap-xs">                Design <span class="badge badge-sm">1 role</span>              </span><ChevronDownIcon class="icon accordion-chevron" />            </summary>            <div class="accordion-content pxe(0)">              <ul class="list">                <li class="list-row">                  <div class="list-body">                    <p class="list-title">Product designer</p>                    <p class="list-description">Taipei or remote · Full-time</p>                  </div>                  <span class="list-end">                    <a class="link" href="#careers-teams-title" aria-label="Apply for Product designer">                      Apply                    </a>                  </span>                </li>              </ul>            </div>          </details>          <details class="accordion-item" name="careers-team">            <summary class="accordion-trigger">              <span class="flex items-center gap-xs">                Developer experience <span class="badge badge-sm">1 role</span>              </span><ChevronDownIcon class="icon accordion-chevron" />            </summary>            <div class="accordion-content pxe(0)">              <ul class="list">                <li class="list-row">                  <div class="list-body">                    <p class="list-title">Developer advocate</p>                    <p class="list-description">Seoul · Full-time</p>                  </div>                  <span class="list-end">                    <a class="link" href="#careers-teams-title" aria-label="Apply for Developer advocate">                      Apply                    </a>                  </span>                </li>              </ul>            </div>          </details>          <details class="accordion-item" name="careers-team">            <summary class="accordion-trigger">              <span class="flex items-center gap-xs">                Support <span class="badge badge-sm">1 role</span>              </span><ChevronDownIcon class="icon accordion-chevron" />            </summary>            <div class="accordion-content pxe(0)">              <ul class="list">                <li class="list-row">                  <div class="list-body">                    <p class="list-title">Support engineer</p>                    <p class="list-description">Remote · Part-time</p>                  </div>                  <span class="list-end">                    <a class="link" href="#careers-teams-title" aria-label="Apply for Support engineer">                      Apply                    </a>                  </span>                </li>              </ul>            </div>          </details>        </div>      </div>    </div>  </section></template>

有了团队名称旁的数量,收起的行就可以直接跳过:候选人不用展开就能看到“1 role”(1 个职位)。在一行内部,团队已经说明过了,因此标题下的一行写地点和用工形式,“Apply”(申请)是这一行唯一的链接。在不支持 name 属性的浏览器中,各行各自独立展开和收起,不会丢失任何内容。

#无障碍

  • 区块是一个以其 <h2> 命名的 <section>。
  • 在第一个列表中,每个职位是一个链接,其名称是这一行的全部内容:职位名称、团队、地点和用工形式,并按这个顺序朗读。
  • 在分组列表中,“Apply”会重复出现,因此每个链接都有 aria-label,以相同的词开头,再写出职位名称:“Apply for Product designer”(申请产品设计师)。
  • <summary> 是浏览器本来就提供的按钮:按 Enter 和空格键可以展开,状态也会播报。数量是其中的文本,因此属于这一行的名称。
  • 两项信息之间的间隔号在这里相当于句子里的标点;如果朗读出来不自然,就改写成“位于”或逗号。
  • 已关闭的职位不要留在列表中。通向“该职位已招满”的一行,会让候选人白点一次,也白抱一次希望。