Skip to content

Commit 84e90b4

Browse files
committed
Proofread revisions
1 parent be4e706 commit 84e90b4

File tree

6 files changed

+77
-77
lines changed

6 files changed

+77
-77
lines changed

src/data/en.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,11 @@ learn:
394394
<span class = "code">text</span>, the label itself; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
395395
accessible-labels-available-labels-li-3: >-
396396
<a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list describing the canvas size, color,
397-
as well as each visual element’s color, position, and the amount of area it covers within the canvas. This function's only parameter is
397+
as well as each visual element’s color, position, and the area it covers within the canvas. This functions only parameter is
398398
<span class = "code">display</span>, an optional parameter to set the visibility of the label.
399399
accessible-labels-available-labels-li-4: >-
400400
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>,
401-
generates a list of the canvas' qualities and its elements. Along with this list, this function also creates an HTML table that plots the
401+
generates a list of the canvas' qualities and elements. Along with this list, this function also creates an HTML table that plots the
402402
spatial location of each shape within the canvas. This function's only parameter is <span class = "code">display</span>, an optional parameter
403403
to set the visibility of the label.
404404
accessible-labels-prerequisites: Prerequisites
@@ -413,7 +413,7 @@ learn:
413413
accessible-labels-steps-for-labeling: Steps for labeling your p5.js code
414414
accessible-labels-steps-for-labeling-step-1: 1. Plan your labeling strategy
415415
accessible-labels-steps-for-labeling-step-1-1: >-
416-
Your labeling strategy will change based on your project's complexity and purpose.
416+
Your labeling strategy will change based on your projects complexity and purpose.
417417
accessible-labels-steps-for-labeling-step-1-2: >-
418418
No matter how complicated your project may be, always provide a brief description of your canvas in
419419
<a class = "code" href = "https://p5js.org/reference/#/p5/setup">setup()</a> using the
@@ -424,7 +424,7 @@ learn:
424424
and provide a 1-3 sentence description of your canvas in its <span class = "code">text</span> parameter. This description should only provide details about
425425
the visual elements of your canvas.
426426
accessible-labels-steps-for-labeling-step-1-4: >-
427-
You do not need to begin your description with "A p5 canvas element..." or anything similar, since the
427+
As stated previously, you do not need to begin your description with A p5 canvas element…” or anything similar, since the
428428
screen reader will declare the element type before reading your label.
429429
accessible-labels-steps-for-labeling-step-1-5: >-
430430
Along with the <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a> label, use either the
@@ -435,37 +435,37 @@ learn:
435435
accessible-labels-steps-for-labeling-step-1-6: >-
436436
The <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> and
437437
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions can
438-
describe what shapes are on your canvas, but they can’t interpret your intention in using the shapes. Keep context in mind when choosing
438+
describe the shapes on your canvas, but they can’t interpret your intention in using the shapes. Keep context in mind when choosing
439439
which function(s) to use. Is it better to describe the flower as “eight circles and a rectangle”, or as “a flower with red
440440
petals and a green stem”? What kind of labeling will provide the best description of your canvas? If
441441
you are creating larger visuals with many shapes, use <a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>
442442
to label each group of shapes.
443443
accessible-labels-steps-for-labeling-step-1-7: >-
444444
Do not use both the <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> and
445445
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions to describe the same canvas. Using both will
446-
cause similar descriptions to appear twice, which confuses the screen readers. The same goes for
446+
cause similar descriptions to appear twice, which is confusing to screen readers. The same goes for
447447
using <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> or
448448
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> with
449449
<a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a> labels. It’s best to choose one function to
450450
supplement your <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a> label.
451451
accessible-labels-steps-for-labeling-step-1-complex: Complex projects
452452
accessible-labels-steps-for-labeling-step-1-complex-1: >-
453-
Use vanilla ARIA labeling and custom-built fallback labels instead of p5's labeling functions if your canvas:
453+
Use vanilla ARIA labeling and custom-built fallback labels instead of p5s labeling functions if your canvas:
454454
accessible-labels-steps-for-labeling-step-1-complex-li-1: >-
455455
Has content that changes extensively via external interactive elements (elements outside the canvas)
456456
accessible-labels-steps-for-labeling-step-1-complex-li-2: >-
457457
Interacts with DOM elements written outside of the canvas code
458458
accessible-labels-steps-for-labeling-step-1-complex-li-3: >-
459-
Requires the user’s attention if the canvas' visual content changes
459+
Requires the user’s attention if the canva's visual content changes
460460
accessible-labels-steps-for-labeling-step-1-complex-li-4: >-
461461
Has complex element layouts that cannot be accurately labeled with the <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a>,
462462
<a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>,
463463
<a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, or
464464
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions
465465
accessible-labels-steps-for-labeling-step-1-complex-2: >-
466466
For more information about fallback content, visit <a href = "https://www.w3.org/html/wg/wiki/DefinitionFallBackContent" target="_blank" rel="noopener noreferrer">W3C’s Wiki</a>.
467-
For more information about complex ARIA labeling, visit <a href = "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes" target="_blank" rel="noopener noreferrer">Mozilla’s ARIA states and properties</a>
468-
and <a href = "https://www.w3.org/TR/using-aria/" target="_blank" rel="noopener noreferrer">W3C's Using ARIA</a>.
467+
For more information about complex ARIA labeling, visit <a href = "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes" target="_blank" rel="noopener noreferrer">Mozilla’s "ARIA states and properties"</a>
468+
and <a href = "https://www.w3.org/TR/using-aria/" target="_blank" rel="noopener noreferrer">W3C’s "Using ARIA"</a>.
469469
accessible-labels-steps-for-labeling-step-2: 2. Write your main and supporting label(s)
470470
accessible-labels-steps-for-labeling-step-2-1: >-
471471
Begin labeling your canvas using the function(s) that best serve your users.
@@ -498,7 +498,7 @@ learn:
498498
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> and <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>
499499
generate their information based on the code of the visual element, such as its size, color, and shape.
500500
Unlike <a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>, you only need to use one label to describe all
501-
your canvas' visual elements.
501+
your canvas's visual elements.
502502
accessible-labels-steps-for-labeling-step-2-animated: Projects with animated or interactive elements
503503
accessible-labels-steps-for-labeling-step-2-animated-1: >-
504504
Individual interactive elements, such as HTML buttons, dropdowns, or inputs, don’t need labels. These
@@ -538,7 +538,7 @@ learn:
538538
confusing for them.
539539
accessible-labels-steps-for-labeling-step-3-4: >-
540540
You may also download a screen reader and use it to test your code. For more information about using
541-
screen readers, visit <a href = "https://www.w3schools.com/accessibility/accessibility_screen_readers.php" target="_blank" rel="noopener noreferrer">W3 School’s Accessibility Screen Readers</a>.
541+
screen readers, visit <a href = "https://www.w3schools.com/accessibility/accessibility_screen_readers.php" target="_blank" rel="noopener noreferrer">W3 School’s "Accessibility Screen Readers"</a>.
542542
accessible-labels-conclusion: Conclusion
543543
accessible-labels-conclusion-1: >-
544544
Once you've tested your labels, your canvas should be accessible to screen reader technology!

src/data/es.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,11 @@ learn:
406406
<span class = "code">text</span>, the label itself; and <span class = "code">display</span>, an optional parameter to set the visibility of the label.
407407
accessible-labels-available-labels-li-3: >-
408408
<a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> generates a list describing the canvas size, color,
409-
as well as each visual element’s color, position, and the amount of area it covers within the canvas. This function's only parameter is
409+
as well as each visual element’s color, position, and the area it covers within the canvas. This functions only parameter is
410410
<span class = "code">display</span>, an optional parameter to set the visibility of the label.
411411
accessible-labels-available-labels-li-4: >-
412412
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a>, like <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>,
413-
generates a list of the canvas' qualities and its elements. Along with this list, this function also creates an HTML table that plots the
413+
generates a list of the canvas' qualities and elements. Along with this list, this function also creates an HTML table that plots the
414414
spatial location of each shape within the canvas. This function's only parameter is <span class = "code">display</span>, an optional parameter
415415
to set the visibility of the label.
416416
accessible-labels-prerequisites: Prerequisites
@@ -425,7 +425,7 @@ learn:
425425
accessible-labels-steps-for-labeling: Steps for labeling your p5.js code
426426
accessible-labels-steps-for-labeling-step-1: 1. Plan your labeling strategy
427427
accessible-labels-steps-for-labeling-step-1-1: >-
428-
Your labeling strategy will change based on your project's complexity and purpose.
428+
Your labeling strategy will change based on your projects complexity and purpose.
429429
accessible-labels-steps-for-labeling-step-1-2: >-
430430
No matter how complicated your project may be, always provide a brief description of your canvas in
431431
<a class = "code" href = "https://p5js.org/reference/#/p5/setup">setup()</a> using the
@@ -436,7 +436,7 @@ learn:
436436
and provide a 1-3 sentence description of your canvas in its <span class = "code">text</span> parameter. This description should only provide details about
437437
the visual elements of your canvas.
438438
accessible-labels-steps-for-labeling-step-1-4: >-
439-
You do not need to begin your description with "A p5 canvas element..." or anything similar, since the
439+
As stated previously, you do not need to begin your description with A p5 canvas element…” or anything similar, since the
440440
screen reader will declare the element type before reading your label.
441441
accessible-labels-steps-for-labeling-step-1-5: >-
442442
Along with the <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a> label, use either the
@@ -447,37 +447,37 @@ learn:
447447
accessible-labels-steps-for-labeling-step-1-6: >-
448448
The <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> and
449449
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions can
450-
describe what shapes are on your canvas, but they can’t interpret your intention in using the shapes. Keep context in mind when choosing
450+
describe the shapes on your canvas, but they can’t interpret your intention in using the shapes. Keep context in mind when choosing
451451
which function(s) to use. Is it better to describe the flower as “eight circles and a rectangle”, or as “a flower with red
452452
petals and a green stem”? What kind of labeling will provide the best description of your canvas? If
453453
you are creating larger visuals with many shapes, use <a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>
454454
to label each group of shapes.
455455
accessible-labels-steps-for-labeling-step-1-7: >-
456456
Do not use both the <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> and
457457
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions to describe the same canvas. Using both will
458-
cause similar descriptions to appear twice, which confuses the screen readers. The same goes for
458+
cause similar descriptions to appear twice, which is confusing to screen readers. The same goes for
459459
using <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> or
460460
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> with
461461
<a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a> labels. It’s best to choose one function to
462462
supplement your <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a> label.
463463
accessible-labels-steps-for-labeling-step-1-complex: Complex projects
464464
accessible-labels-steps-for-labeling-step-1-complex-1: >-
465-
Use vanilla ARIA labeling and custom-built fallback labels instead of p5's labeling functions if your canvas:
465+
Use vanilla ARIA labeling and custom-built fallback labels instead of p5s labeling functions if your canvas:
466466
accessible-labels-steps-for-labeling-step-1-complex-li-1: >-
467467
Has content that changes extensively via external interactive elements (elements outside the canvas)
468468
accessible-labels-steps-for-labeling-step-1-complex-li-2: >-
469469
Interacts with DOM elements written outside of the canvas code
470470
accessible-labels-steps-for-labeling-step-1-complex-li-3: >-
471-
Requires the user’s attention if the canvas' visual content changes
471+
Requires the user’s attention if the canva's visual content changes
472472
accessible-labels-steps-for-labeling-step-1-complex-li-4: >-
473473
Has complex element layouts that cannot be accurately labeled with the <a class = "code" href = "https://p5js.org/reference/#/p5/describe">describe()</a>,
474474
<a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>,
475475
<a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>, or
476476
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> functions
477477
accessible-labels-steps-for-labeling-step-1-complex-2: >-
478478
For more information about fallback content, visit <a href = "https://www.w3.org/html/wg/wiki/DefinitionFallBackContent" target="_blank" rel="noopener noreferrer">W3C’s Wiki</a>.
479-
For more information about complex ARIA labeling, visit <a href = "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes" target="_blank" rel="noopener noreferrer">Mozilla’s ARIA states and properties</a>
480-
and <a href = "https://www.w3.org/TR/using-aria/" target="_blank" rel="noopener noreferrer">W3C's Using ARIA</a>.
479+
For more information about complex ARIA labeling, visit <a href = "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes" target="_blank" rel="noopener noreferrer">Mozilla’s "ARIA states and properties"</a>
480+
and <a href = "https://www.w3.org/TR/using-aria/" target="_blank" rel="noopener noreferrer">W3C’s "Using ARIA"</a>.
481481
accessible-labels-steps-for-labeling-step-2: 2. Write your main and supporting label(s)
482482
accessible-labels-steps-for-labeling-step-2-1: >-
483483
Begin labeling your canvas using the function(s) that best serve your users.
@@ -510,15 +510,15 @@ learn:
510510
<a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> and <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>
511511
generate their information based on the code of the visual element, such as its size, color, and shape.
512512
Unlike <a class = "code" href = "https://p5js.org/reference/#/p5/describeElement">describeElement()</a>, you only need to use one label to describe all
513-
your canvas' visual elements.
513+
your canvas's visual elements.
514514
accessible-labels-steps-for-labeling-step-2-animated: Projects with animated or interactive elements
515515
accessible-labels-steps-for-labeling-step-2-animated-1: >-
516516
Individual interactive elements, such as HTML buttons, dropdowns, or inputs, don’t need labels. These
517517
elements are built outside of the p5.js canvas and are interpreted by screen readers. However, this
518518
means the <a class = "code" href = "https://p5js.org/reference/#/p5/gridOutput">gridOutput()</a> and
519519
<a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a> functions won’t provide any information about these interactive
520520
inputs.
521-
accessible-labels-steps-for-labeling-step-2-animated-2: >-
521+
accessible-labels-steps-for-labeling-step-2-animated-2: >-
522522
If a canvas element is animated and/or interactive, represent its current state or qualities in the label.
523523
So long as you place the functions within the <a class = "code" href = "https://p5js.org/reference/#/p5/draw">draw()</a> function,
524524
they will automatically update with the shape’s new information (except for <a class = "code" href = "https://p5js.org/reference/#/p5/textOutput">textOutput()</a>
@@ -550,7 +550,7 @@ accessible-labels-steps-for-labeling-step-2-animated-2: >-
550550
confusing for them.
551551
accessible-labels-steps-for-labeling-step-3-4: >-
552552
You may also download a screen reader and use it to test your code. For more information about using
553-
screen readers, visit <a href = "https://www.w3schools.com/accessibility/accessibility_screen_readers.php" target="_blank" rel="noopener noreferrer">W3 School’s Accessibility Screen Readers</a>.
553+
screen readers, visit <a href = "https://www.w3schools.com/accessibility/accessibility_screen_readers.php" target="_blank" rel="noopener noreferrer">W3 School’s "Accessibility Screen Readers"</a>.
554554
accessible-labels-conclusion: Conclusion
555555
accessible-labels-conclusion-1: >-
556556
Once you've tested your labels, your canvas should be accessible to screen reader technology!

0 commit comments

Comments
 (0)