Forum
Welcome, Guest
Please Login to access forum.
Re:Screen Reader wave.webaim.org Validation (1 viewing) 
Go to bottom
TOPIC: Re:Screen Reader wave.webaim.org Validation
#4078
John Dagelmore
Admin
Posts: 3876
User Online Now
Re:Screen Reader wave.webaim.org Validation Karma: 84  
Hi George,

you need to edit the js file named controlle.js at the path root/plugins/system/screenreader/screenreader/libraries/controller/controller.js

It's a minified javascript source code so you find the unminified version added to the zip in attachment to download and use.

After that you find code for buttons, for example for the 'Play' button you have:
Code:

var playButton = $('<button/>').attr({'id':'fr_screenreader_play', 'title':'Play', 'accesskey':screenReaderOptions.accesskey_play}) .addClass('pinnable');
and you can add a couple of rules to add a text with font zero:
Code:

var playButton = $('<button/>').attr({'id':'fr_screenreader_play', 'title':'Play', 'accesskey':screenReaderOptions.accesskey_play}) .addClass('pinnable') .html('Play') .css('font-size', 0);
This should work to add a not visible text to button available for the Wave validation. BR John
File Attachment:
File Name: controller.zip
File Size: 5391
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    thread link
Screen Reader wave.webaim.org Validation
George Hatsiulis / Internet Technology Solutions
    thread link
thread linkthread link Re:Screen Reader wave.webaim.org Validation
John Dagelmore
    thread link
thread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
George Hatsiulis / Internet Technology Solutions
    thread link
thread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
George Hatsiulis / Internet Technology Solutions
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
George Hatsiulis / Internet Technology Solutions
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
George Hatsiulis / Internet Technology Solutions
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:Screen Reader wave.webaim.org Validation
John Dagelmore
Go to top