Skip to content

Commit ced22a7

Browse files
docs-botCopilot
andauthored
a11y: fix list structure in runs-on reusable and add role=status to journey progress (#61419)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent aea6d32 commit ced22a7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

data/reusables/actions/jobs/choosing-runner-overview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Use `jobs.<job_id>.runs-on` to define the type of machine to run the job on.
22

3-
{% ifversion fpt or ghec %}- The destination machine can be either a [{% data variables.product.prodname_dotcom %}-hosted runner](#choosing-github-hosted-runners), [{% data variables.actions.hosted_runner %}](#choosing-runners-in-a-group), or a [self-hosted runner](#choosing-self-hosted-runners).{% else %}
4-
* The destination machine can be a [self-hosted runner](#choosing-self-hosted-runners).{% endif %}
3+
* The destination machine can be {% ifversion fpt or ghec %}either a [{% data variables.product.prodname_dotcom %}-hosted runner](#choosing-github-hosted-runners), [{% data variables.actions.hosted_runner %}](#choosing-runners-in-a-group), or a [self-hosted runner](#choosing-self-hosted-runners){% else %}a [self-hosted runner](#choosing-self-hosted-runners){% endif %}.
54
* You can target runners based on the labels assigned to them, or their group membership, or a combination of these.
65
* You can provide `runs-on` as:
76
* A single string

src/journeys/components/JourneyTrackCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function JourneyTrackCard({ journey }: Props) {
2727
{trackTitle}
2828
</Link>
2929
</h2>
30-
<span className="f5 color-fg-muted">
30+
<span role="status" className="f5 color-fg-muted">
3131
{t('current_progress')
3232
.replace('{n}', `${numberOfGuides}`)
3333
.replace('{i}', `${currentGuideIndex + 1}`)}

0 commit comments

Comments
 (0)