Add aria-labels to octicons (#55740)
This commit is contained in:
@@ -74,7 +74,7 @@ If you want to use Git hooks for your codespace, then you should set up hooks us
|
||||
|
||||

|
||||
|
||||
1. Click the **{% octicon "code" aria-hidden="true" %} Code** button, then click the **Codespaces** tab.
|
||||
1. Click the **{% octicon "code" aria-hidden="true" aria-label="code" %} Code** button, then click the **Codespaces** tab.
|
||||
|
||||
A message is displayed at the bottom of the dialog telling you who will pay for the codespace.
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ You can create a codespace from any template repository, then publish your work
|
||||
{% data reusables.codespaces.use-this-template %}
|
||||
|
||||
> [!NOTE]
|
||||
> If you're a maintainer of the template repository, and want to commit changes to the template repository itself, you should create a codespace from the **{% octicon "code" aria-hidden="true" %} Code** dropdown. For more information, see [AUTOTITLE](/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository).
|
||||
> If you're a maintainer of the template repository, and want to commit changes to the template repository itself, you should create a codespace from the **{% octicon "code" aria-hidden="true" aria-label="code" %} Code** dropdown. For more information, see [AUTOTITLE](/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository).
|
||||
|
||||
{% data reusables.codespaces.template-codespaces-default-editor %}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ There are costs associated with storing codespaces. You should therefore delete
|
||||
{% webui %}
|
||||
|
||||
{% data reusables.codespaces.your-codespaces-procedure-step %}
|
||||
1. To the right of the codespace you want to delete, click {% octicon "kebab-horizontal" aria-label="Codespace configuration" %}, then click **{% octicon "trash" aria-hidden="true" %} Delete**.
|
||||
1. To the right of the codespace you want to delete, click {% octicon "kebab-horizontal" aria-label="Codespace configuration" %}, then click **{% octicon "trash" aria-hidden="true" aria-label="trash" %} Delete**.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ You can view all your codespaces on the "Your codespaces" page at [github.com/co
|
||||
|
||||
You can quickly resume a codespace when you're viewing a repository on {% data variables.product.github %}.
|
||||
|
||||
1. With the **{% octicon "code" aria-hidden="true" %} Code** tab of your repository displayed on {% data variables.product.github %}, press <kbd>,</kbd> (the comma key).
|
||||
1. With the **{% octicon "code" aria-hidden="true" aria-label="code" %} Code** tab of your repository displayed on {% data variables.product.github %}, press <kbd>,</kbd> (the comma key).
|
||||
|
||||
The "Resume codespace" page is displayed. This allows you to resume your most recently used codespace for the currently selected branch of the repository or, if you were viewing a pull request, for the topic branch of the pull request.
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Using a codespace to work on a pull request gives you all the benefits of {% dat
|
||||
{% data reusables.repositories.sidebar-pr %}
|
||||
|
||||
1. In the list of pull requests, click the pull request you'd like to open in {% data variables.product.prodname_codespaces %}.
|
||||
1. On the right-hand side of your screen, click **{% octicon "code" aria-hidden="true" %} Code**.
|
||||
1. On the right-hand side of your screen, click **{% octicon "code" aria-hidden="true" aria-label="code" %} Code**.
|
||||
1. In the {% data variables.product.prodname_codespaces %} tab, click {% octicon "plus" aria-label="Create a codespace on BRANCH" %}.
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user