Microsoft KB Archive/928711

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

Article ID: 928711

Article Last Modified on 12/6/2006

-

APPLIES TO


 * Microsoft Expression Web

-



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   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.  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   tag as follows. Link Text Then, change the HTML code segment as follows.  Link Text 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   HTML code before the   tag.
 * 5) On the File menu, point to Preview in Browser, and then click the appropriate option.

