Upon image upload completion, the cursor focus is moved to the image tag (see example below). Feature request: don't move the cursor focus.
1 Answer
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
-
1Sadly it doesn't really help, 99.999% of the users never add description. :/ Jan 29 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 at 10:00
-
2While 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 at 10:01
-
-
@ShadowWizardChasingStars What percentage of images on SE have a meaningful alt-text? Jan 29 at 10:13