Bug 62772
Summary: | Alternate text not used during copy and paste | ||
---|---|---|---|
Product: | WebKit | Reporter: | Vlad Alexander <vlad.alexander> |
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mjs |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://html4all.org/staging/a11y-bugs/1000/love.htm |
Vlad Alexander
The browser does not use alternate text when copying content that contains images. For example, select and copy content containing an image. Paste into another application (like Microsoft Word) as "Unformatted Text" or into an application (like Notepad) that only supports plain text. Alternate text (the value from of the image's @alt attribute) should be inserted in place of the image. Instead, the browser inserts nothing in place of the image. This means content is lost when pasting into other applications. This can affects comprehension. And this behavior does not encourage the use of alternate text, which is a primary accessibility feature in HTML.
To reproduce the problem, render the following markup:
<h1>I <img src="heart.gif" alt="love" /> you!</h1>
Test page with the above markup:
http://html4all.org/staging/a11y-bugs/1000/love.htm
Select and copy the content. Paste it into an application like Notepad.
The result is "I you!". Instead, the result should be "I love you!".
Example of products that correctly support copy/paste of alternate text:
- Firefox
- XStandard WYSIWYG editor
- BlueGriffon WYSIWYG editor
In order stress the importance of this bug and to assure you that the recommended way of fixing the bug is appropriate, this bug is co-signed by the following accessiblity experts:
- Alastair Campbell
- Andrew Downie
- Denis Boudreau
- Everett Zufelt
- Jason Kiss
- Jim Byrne
- John Foliot
- Joshue O Connor
- Laura Carlson
- Leif Halvard Silli
- Nigel Peck
- Roberto Scano
- Roger Johansson
- Vlad Alexander
This bug report comes from the community led a11y bugs project here:
http://html4all.org/staging/a11y-bugs/
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 11200 ***
Maciej Stachowiak
Please don't include long lists of names like this in bugs. We just need the technical information, not a list of endorsements.