Project:Vote Up/Down
Version:6.x-1.0-beta6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

On lines 622 and 640 of vote_up_down.module the actual link text is left blank with ' ' and does not have 'Vote up' or 'Vote down' respectively.

The module appears to degrade gracefully when a user turns off JS but not when they are not using the CSS such as a visually impaired user who is using JAWS for instance.

I'd propose to change lines 622 and 640 to:

Before:

      $variables['link1'] = l('', "vote_up_down/$type/$cid/1/$tag", array(

      $variables['link2'] =  l('', "vote_up_down/$type/$cid/-1/$tag", array(

After:

      $variables['link1'] = l('Vote up', "vote_up_down/$type/$cid/1/$tag", array(

      $variables['link2'] =  l('Vote down', "vote_up_down/$type/$cid/-1/$tag", array(

Any thoughts? Shall we roll this up into a patch?

Comments

#1

Title:Accessibility Issue» do not use empty links
Category:support request» bug report

thanks for the report

#2

Status:active» closed (won't fix)

Since 6.x-1.x is not anymore maintained, I'm closing this.

Please note that this is fixed on 6.x-2.x.