php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20843 Alt text in documentation pages hamper accessibility
Submitted: 2002-12-05 16:55 UTC Modified: 2002-12-08 06:36 UTC
From: mcgarry at tig dot com dot au Assigned:
Status: Closed Package: Website problem
PHP Version: 4.2.3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mcgarry at tig dot com dot au
New email:
PHP Version: OS:

 

 [2002-12-05 16:55 UTC] mcgarry at tig dot com dot au
On documentation pages such as
http://www.php.net/manual/en/funcref.php
in the left column the sections are listed and have a graphical bullet point in front of them.

These graphical bullet points have the section name as the alt text. When browsing without images all this does is make each section title appear twice (once as the image alt text and once as the actual text that follows it) and it looks very wierd.

A better alt text would be the middot entity or nothing at all.

For reference I noticed this when trying to access the page in "small screen rendering" mode as provided in Opera 7 for Windows beta which mimics how pages look on the version of Opera for small screen devices (ie mobile phones) they make.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-06 20:44 UTC] pollita@php.net
Agreed, this violates accessability standards.

Reclassified as a documentation problem as change needs to be made in the phpweb build process.
 [2002-12-07 06:52 UTC] goba@php.net
This IS NOT a documentation problem, as the rendering code for those images is in the php website source code. I have comitted a fix for this problem, and so the change will appear in a short time online. Please check it again with your Opera, I have used ·.
 [2002-12-07 15:13 UTC] mcgarry at tig dot com dot au
Excellent, that's much more accessible.
However, I've now noticed that the same issue exists with the "up arrow" and "double up arrow" graphics.

Perhaps the "up arrow" could have an alt text of < as it signifies one level back in the document tree.

Perhaps the "double up arrow" could have an alt text of ^ as it signifies the top of the documentation.
 [2002-12-08 06:36 UTC] goba@php.net
OK, I have done these modifications too, as well as modified the 'next' and 'previous' alt texts to also contain < and >, which will probably help non-image browsers to reflect the original feeling and funtionality, without cluttering up the page with too much text.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 18:01:30 2024 UTC