WordPress/gutenberg

Native Image component includes outdated accessibility hint

已關閉

#45,124 建立於 2022年10月19日

 (4 則留言) (1 個反應) (0 位負責人)JavaScript (3,893 個分叉)batch import
Good First IssueMobile App - i.e. Android or iOS[Block] Image[Block] Media & Text[Focus] Accessibility (a11y)[Type] Bug

倉庫指標

星標
 (9,607 顆星)
PR 合併指標
 (平均合併 12天 18小時) (30 天內合併 509 個 PR)

描述

Description

When using a screen reader to navigate images in the native editor, an erroneous "Double tap and hold to edit" hint is read aloud. This discrepancy likely originates from https://github.com/WordPress/gutenberg/pull/40651.

Step-by-step reproduction instructions

  1. Add an Image or Media & Text block.
  2. Add media to the block.
  3. Enable Voice Over.
  4. Move focus to the image.

Expected behaviour

An accurate hint is read aloud, e.g. "Double tap to view larger."

Actual behaviour

An inaccurate hint is read aloud: "Double tap and hold to edit."

Screenshots or screen recording (optional)

https://user-images.githubusercontent.com/438664/196736195-90c75082-05e2-43dc-bdb4-19adf72e9b76.MP4

WordPress information

  • WordPress version: 6.1
  • Gutenberg version: 14.3.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Geologist

Device information

  • Device: iPhone SE
  • Operating system: iOS 16
  • WordPress app version: 1.84.0

貢獻者指南