How to make hyperlinked buttons readable to screen-reader software in Expression Web

Article translations Article translations
Article ID: 928711 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

This article describes how to change the behavior of hyperlinks that were created by using the Go To URL feature in Web pages that were created in Microsoft Expression Web. This changed behavior resolves the problem in which some screen-reader software could not read hyperlinks that were created by using the Go To URL feature if a browser has the Scripting option turned off (disabled).

If the Scripting option is turned off, you must use the <noscript> tag so that screen-reader software can follow the hyperlink.

MORE INFORMATION

The Go To URL feature in Expression Web is implemented through a JScript function. This requires the Scripting option to be turned on (enabled) in the Web browser. The JScript function is typically used for buttons and for other objects.

When you create a hyperlink by using the Go To URL feature, Expression Web creates the following Jscript code segment to handle the URL address.
<p><input type="button" value="Link Button" name="B1" onclick="FP_goToURL(/*href*/'http://URL_Address')"></p>
If the Scripting option was turned off, the onclick event is not processed. Additionally, a readable URL address is not created for screen-reader software. To work around this issue, you can use the <noscript> tag as follows.
<noscript><a href=http://URL_Address>Link Text</a></noscript>
Then, change the HTML code segment as follows.
<p><input type="button" value="Link Text" name="B1" onclick="FP_goToURL(/*href*/'http://URL_Address')"> 
<noscript><a href=http://URL_Address>Link Text</a></noscript></p>
To change the HTML code segment, follow these steps:
  1. Open the Web page that you want to change in Expression Web.
  2. Click the button or the object that you want to change on the Web page.
  3. Click the Code tab on the bottom of the page to switch to HTML code view. The HTML code for the button will be selected.
  4. Add the <noscript> HTML code before the </p> tag.
  5. On the File menu, point to Preview in Browser, and then click the appropriate option.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
831082 How to make hyperlinked buttons more accessible to screen reader software in FrontPage 2003

Properties

Article ID: 928711 - Last Review: December 6, 2006 - Revision: 1.0
APPLIES TO
  • Microsoft Expression Web
Keywords: 
kbhowto kbexpertiseinter KB928711

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com