Documentation for "Accessible charts" (#51370)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
This commit is contained in:
@@ -30,14 +30,11 @@ You can see all commits made to a repository in the past year (excluding merge c
|
||||
|
||||
The top graph shows commits for the entire year by week. The bottom graph shows the average number of commits by day of the week for the selected week.
|
||||
|
||||

|
||||
|
||||
### Accessing the commits graph
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.accessing-repository-graphs %}
|
||||
1. In the left sidebar, click **Commits**.
|
||||

|
||||
|
||||
## Visualizing additions and deletion to content in a repository
|
||||
|
||||
@@ -45,18 +42,14 @@ The top graph shows commits for the entire year by week. The bottom graph shows
|
||||
|
||||
The code frequency graph displays the content additions and deletions for each week in a repository's history.
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
### Accessing the code frequency graph
|
||||
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.accessing-repository-graphs %}
|
||||
1. In the left sidebar, click **Code frequency**.
|
||||

|
||||
{%- ifversion accessible-charts %}
|
||||
{% data reusables.repositories.repositories-insights-graphs-download-steps %}
|
||||
{% endif %}
|
||||
|
||||
{% ifversion repository-activity-view %}
|
||||
{% data reusables.repositories.activity-view %}
|
||||
|
||||
@@ -31,9 +31,12 @@ You can also see a list of people who have contributed to the project's Python d
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.accessing-repository-graphs %}
|
||||
1. In the left sidebar, click **Contributors**.
|
||||

|
||||
{%- ifversion accessible-charts %}
|
||||
1. Optionally, to view contributors during a specific time period, to the right of "Contributors," click **Period: All**. Then select a time period.
|
||||
{% data reusables.repositories.repositories-insights-graphs-download-steps %}
|
||||
{%- else %}
|
||||
1. Optionally, to view contributors during a specific time period, click, then drag until the time period is selected. The contributors graph sums weekly commit numbers onto each Sunday, so your time period must include a Sunday.
|
||||

|
||||
{% endif %}
|
||||
|
||||
## Troubleshooting contributors
|
||||
|
||||
|
||||
6
data/features/accessible-charts.yml
Normal file
6
data/features/accessible-charts.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Issue 14969
|
||||
# Accessibility updates to the repo insights and the code frequency pages
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.15'
|
||||
@@ -0,0 +1,2 @@
|
||||
1. Optionally, to view the graph as a table, in the top-right corner of the graph, click {% octicon "kebab-horizontal" aria-label="Chart options" %}. Then click **View as table**.
|
||||
1. Optionally, to download a CSV or PNG, in the top-right corner of the graph, click {% octicon "kebab-horizontal" aria-label="Chart options" %}. Then click **Download CSV** or **Download PNG**.
|
||||
Reference in New Issue
Block a user