-7

Upon image upload completion, the cursor focus is moved to the image tag (see example below). Feature request: don't move the cursor focus.

enter image description here

1 Answer 1

14

The cursor focus is moved to the image tag

That, in my opinion, is the correct behaviour, as it reminds you to complete the image tag.

This is important for visually impaired or blind users who are using screen readers:

Use semantic HTML markup for structures such as headings, paragraphs, lists, forms, and tables. Provide text alternatives for images, icons, and other non-text content. Ensure keyboard compatibility, and ensure that text information is understandable without the visual context.

(emphasis mine)

Source: Text to Speech | Web Accessibility Initiative (WAI) | W3C


Further Reading

5
  • 1
    Sadly it doesn't really help, 99.999% of the users never add description. :/ Jan 29, 2023 at 9:55
  • @ShadowWizardChasingStars and some uses like myself type a few random characters in the image tag before realizing the cursor moved to the image tag. Jan 29, 2023 at 10:00
  • 2
    While it’s a noble goal to make users add image descriptions, this shouldn’t happen in the middle of typing something else. Missing image descriptions should be dealt with with a more carefully designed UI and UX. Maybe consider GitHub’s design which takes the file name as an alt text. Jan 29, 2023 at 10:01
  • @SebastianSimon could also explore automated image captioning. Jan 29, 2023 at 10:01
  • @ShadowWizardChasingStars What percentage of images on SE have a meaningful alt-text? Jan 29, 2023 at 10:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .