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.
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(http://services.support.microsoft.com/*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(http://services.support.microsoft.com/*href*/'http://URL_Address')">
<noscript><a href=http://URL_Address>Link Text</a></noscript></p>
To change the HTML code segment, follow these steps:
- Open the Web page that you want to change in Expression Web.
- Click the button or the object that you want to change on the Web page.
- 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.
- Add the <noscript> HTML code before the </p> tag.
- On the File menu, point to Preview in Browser, and then click the appropriate option.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
How to make hyperlinked buttons more accessible to screen reader software in FrontPage 2003