J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Wordpress Version: Inline scripts are read by ScreenReader (1 viewing) 
Go to bottom
TOPIC: Wordpress Version: Inline scripts are read by ScreenReader
#6146
Atelier Tag Eins
Fresh Boarder
Posts: 3
User Offline
Wordpress Version: Inline scripts are read by ScreenReader Karma: 0  
Hi there,
I really like your screen reader, great tool.
I use the WordPress version and have one problem: WP automatically generates inline scripts when an image gallery is inserted into an article.
I set the option "Exclude Scripts" to yes, but in spite of that, the screen reader reads the content of the script.

Script:
<style type='text/css'>
#gallery-1 {
margin: auto;
}
...

The reader reads the code after the style-tag, starting with "#gallery-1" and so on.

Is this a bug or did I do something wrong?

Cheers,
Christian
 
Logged Logged  
  The administrator has disabled public write access.
#6147
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Wordpress Version: Inline scripts are read by ScreenReader Karma: 79  
Hi,

indeed those are not scrips, those are inline stylesheets. You are confusing things.
You should check the value of the selectors to match the text, http://storejextensions.org/faq/why-the-screen-reader-doesn-t-read-all-the-text-in-my-page.html
probably you need to make it more specific to avoid to select the inline stylesheet.

Otherwise consider to move that code to a proper CSS file.

Cheers,
John
 
Logged Logged  
  The administrator has disabled public write access.
#6151
Atelier Tag Eins
Fresh Boarder
Posts: 3
User Offline
Re:Wordpress Version: Inline scripts are read by ScreenReader Karma: 0  
Thanks for your very quick answer. I now solved this issue by restricting the reader to certain css elements.

That works, but: generally, no matter which audio engine or chunk length I use, the reader always stops after about 60 words. Why is this? Is it a Wordpress specific problem?
 
Logged Logged  
  The administrator has disabled public write access.
#6152
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Wordpress Version: Inline scripts are read by ScreenReader Karma: 79  
That's not the case. Wordpress or Joomla makes no difference.
Read please: http://storejextensions.org/faq/why-the-screen-reader-start-reading-but-stops-after-a-few-lines-of-text.html
Obviously i assume you are not using the free version that is limited to read a few lines.
 
Logged Logged  
  The administrator has disabled public write access.
#6153
Atelier Tag Eins
Fresh Boarder
Posts: 3
User Offline
Re:Wordpress Version: Inline scripts are read by ScreenReader Karma: 0  
No, I am not using the free version, I purchased the Plugin.

I could eliminate the incorrect stopping of the reader by disabling the option "Enable preloading for text chunks" in the settings.

I reproduced the problem on another site, so it is existent and not depending on other plugins. Just for you to know.
I'm fine now with the plugin as it is.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top