[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 276839] New: Alternate text not rendered
From:       Vlad Alexander <vlad.alexander () xstandard ! com>
Date:       2011-06-30 16:27:38
Message-ID: bug-276839-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=276839

           Summary: Alternate text not rendered
           Product: konqueror
           Version: SVN
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: khtml renderer
        AssignedTo: konq-bugs@kde.org
        ReportedBy: vlad.alexander@xstandard.com


Version:           SVN (using Devel) 
OS:                Linux

If image dimensions (@width and @height) are specified, the browser renders
alternate text within those dimensions. If alternate text does not fit those
dimensions, it is cut-off. This can result in loss of information to the reader
and affects comprehension. This also does not encourage use of alternate text.

Reproducible: Always

Steps to Reproduce:
Render the following markup:

<h1>I <img src="heart.gif" alt="love" width="16" height="16" /> you!</h1>

Above markup in standards mode:
http://html4all.org/staging/a11y-bugs/1002/test1.php

Above markup in quirks mode:
http://html4all.org/staging/a11y-bugs/1002/test2.php

Actual Results:  
You cannot read the alternate text which in this case is the word "love". See
screen shot:
http://html4all.org/staging/a11y-bugs/1002/konqueror-bad-alt-render.gif

Expected Results:  
You should see the alternate text in place of the image.

Firefox correctly renders alternate text (not constrained by @width and
@height) if page contains a DOCTYPE. While the image is loading, a placeholder
(outline) with the @width/@height is rendered. When the image fails to load,
alternate text is rendered in place of the image placeholder/outline as shown
in this screen shot:

http://html4all.org/staging/a11y-bugs/1002/ff-good-alt-render.gif

Test case - image loads after 5 seconds:
http://rebuildingtheweb.com/misc/html4all/slow-load-found.asp

Test case - image fails to loads after 5 seconds:
http://rebuildingtheweb.com/misc/html4all/slow-load-not-found.asp

It would be useful to have alternate text displayed as text, rather than text
on a graphic. This way, parts of alternate text could be selected, copied and
alternate text would wrap. It would also be beneficial to make alternate text
participate in Find operation.

To convey the importance of this bug and the recommended solution, a group of
15 accessibility experts have co-signed this bug report here:
http://html4all.org/staging/a11y-bugs/1002/

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic