processing / processing/processing-website

Add the describe() function to live examples

Open
#312 14 comments 0 reactions 1 assignee View on GitHub

@yogitheboss is already working on this.

Since Feb 13, 2023.

Accessibility Enhancement Examples Good First Issue Help Wanted
Dominant language
MDX
Stars
90
Forks
122
Avg merge
1h 43m
Merged PRs (30d)
3

Description

Since p5.js has a convenient function to make sketches accessible to screen readers, it would be a great idea to use it.

Here's an example of how to do it:

  1. Go to content/examples/... and navigate to the example folder for which you want to add alt-text.
  2. Locate the liveSketch.js file
  3. In the s.setup function add an s.describe() function and pass it your alt-text as a string.

For example:

s.describe(
      'there are two dark spheres side by side, the cursor works like a light source, when mouse moves the direction of light changes and reveals some part of spheres.'
    );

Edit: see for reference 👇

July 30th 2024 edit: added step by step instructions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.