Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Update describe function limits and best practices

未关闭
#9,105 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@Ayush4958 已经在做这个了。

开始于 2026年8月21日。

  • #9114 来自 @Ayush4958 —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

Area:Accessibility Enhancement Good First Issue
Increasing access

A new lang parameter will be added to ensure screen readers can programmatically identify the language of the text for the describe() and describeElement(). This will ensure screen readers (mostly for Windows users) can change to the proper screen reader voice language.

Most appropriate sub-area of p5.js?
  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)
Feature enhancement details

This pertains to one of the items for issue #9100.

The contributor documentations need to be updated to include these key guidelines:

  1. TTS engines cannot reliably pronounce transliterations of languages. This can make it hard for the screen reader users to understand the text for the describe functions. Our current workaround to resolve this is to encourage sketch creators to use their native script language when writing the text for describe functions.

  2. macOS VoiceOver ignores the lang attribute completely so Latin-script languages (Spanish, German, French, etc) will be read with the English voice so it's likely that words won't be pronounced correctly.

主要语言
JavaScript
星标
24.1k
派生
3.9k
平均合并
3 天 4 小时
30 天内合并 PR
29

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

processing/p5.js 的其他 Issue

查看 processing/p5.js 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。