Skip to content

Commit 97aed1f

Browse files
authored
Merge pull request #1480 from shibomb/fix/link-writing-accessible
Update links to "Writing accessible canvas descriptions"
2 parents 5584416 + 177de43 commit 97aed1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/data/reference/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"Creates a screen reader-accessible description for the canvas.",
7979
"The first parameter, <code>text</code>, is the description of the canvas.",
8080
"The second parameter, <code>display</code>, is optional. It determines how the description is displayed. If <code>LABEL</code> is passed, as in <code>describe('A description.', LABEL)</code>, the description will be visible in a div element next to the canvas. If <code>FALLBACK</code> is passed, as in <code>describe('A description.', FALLBACK)</code>, the description will only be visible to screen readers. This is the default mode.",
81-
"Read <a href=\"/learn/labeling-canvases.html\">How to label your p5.js code</a> to learn more about making sketches accessible."
81+
"Read <a href=\"/learn/accessible-labels.html\">Writing accessible canvas descriptions</a> to learn more about making sketches accessible."
8282
],
8383
"params": {
8484
"text": "String: description of the canvas.",
@@ -91,7 +91,7 @@
9191
"The first parameter, <code>name</code>, is the name of the element.",
9292
"The second parameter, <code>text</code>, is the description of the element.",
9393
"The third parameter, <code>display</code>, is optional. It determines how the description is displayed. If <code>LABEL</code> is passed, as in <code>describe('A description.', LABEL)</code>, the description will be visible in a div element next to the canvas. Using <code>LABEL</code> creates unhelpful duplicates for screen readers. Only use <code>LABEL</code> during development. If <code>FALLBACK</code> is passed, as in <code>describe('A description.', FALLBACK)</code>, the description will only be visible to screen readers. This is the default mode.",
94-
"Read <a href=\"/learn/labeling-canvases.html\">How to label your p5.js code</a> to learn more about making sketches accessible."
94+
"Read <a href=\"/learn/accessible-labels.html\">Writing accessible canvas descriptions</a> to learn more about making sketches accessible."
9595
],
9696
"params": {
9797
"name": "String: name of the element.",
@@ -106,7 +106,7 @@
106106
"A list of shapes follows the general description. The list describes the color, location, and area of each shape. For example, <code>a red circle at middle covering 3% of the canvas</code>. Each shape can be selected to get more details.",
107107
"<code>textOutput()</code> uses its table of shapes as a list. The table describes the shape, color, location, coordinates and area. For example, <code>red circle location = middle area = 3%</code>. This is different from <a href=\"#/p5/gridOutput\">gridOutput()</a>, which uses its table as a grid.",
108108
"The <code>display</code> parameter is optional. It determines how the description is displayed. If <code>LABEL</code> is passed, as in <code>textOutput(LABEL)</code>, the description will be visible in a div element next to the canvas. Using <code>LABEL</code> creates unhelpful duplicates for screen readers. Only use <code>LABEL</code> during development. If <code>FALLBACK</code> is passed, as in <code>textOutput(FALLBACK)</code>, the description will only be visible to screen readers. This is the default mode.",
109-
"Read <a href=\"/learn/labeling-canvases.html\">How to label your p5.js code</a> to learn more about making sketches accessible."
109+
"Read <a href=\"/learn/accessible-labels.html\">Writing accessible canvas descriptions</a> to learn more about making sketches accessible."
110110
],
111111
"params": {
112112
"display": "Constant: (Optional) either FALLBACK or LABEL."
@@ -119,7 +119,7 @@
119119
"<code>gridOutput()</code> uses its table of shapes as a grid. Each shape in the grid is placed in a cell whose row and column correspond to the shape's location on the canvas. The grid cells describe the color and type of shape at that location. For example, <code>red circle</code>. These descriptions can be selected individually to get more details. This is different from <a href=\"#/p5/textOutput\">textOutput()</a>, which uses its table as a list.",
120120
"A list of shapes follows the table. The list describes the color, type, location, and area of each shape. For example, <code>red circle, location = middle, area = 3 %</code>.",
121121
"The <code>display</code> parameter is optional. It determines how the description is displayed. If <code>LABEL</code> is passed, as in <code>gridOutput(LABEL)</code>, the description will be visible in a div element next to the canvas. Using <code>LABEL</code> creates unhelpful duplicates for screen readers. Only use <code>LABEL</code> during development. If <code>FALLBACK</code> is passed, as in <code>gridOutput(FALLBACK)</code>, the description will only be visible to screen readers. This is the default mode.",
122-
"Read <a href=\"/learn/labeling-canvases.html\">How to label your p5.js code</a> to learn more about making sketches accessible."
122+
"Read <a href=\"/learn/accessible-labels.html\">Writing accessible canvas descriptions</a> to learn more about making sketches accessible."
123123
],
124124
"params": {
125125
"display": "Constant: (Optional) either FALLBACK or LABEL."

0 commit comments

Comments
 (0)