Microsoft Knowledge Base Email Alertz

(831082) - This article discusses how to change the behavior of hyperlinks that were created with the Go To URL feature in Web pages that were created in Microsoft Office FrontPage 2003. This behavior changes the problem where some screen reading software could...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

How to make hyperlinked buttons more accessible to screen reader software in FrontPage 2003 and in SharePoint Designer 2007

Article ID: 831082 - View products that this article applies to.

INTRODUCTION

This article discusses how to change the behavior of hyperlinks that were created with the Go To URL feature in Web pages that were created in Microsoft Office FrontPage 2003 or in Microsoft Office SharePoint Designer 2007. This behavior changes the problem where some screen reading software could not read the hyperlinks that were created with the Go To URL feature if the Web browser has the Scripting option turned off (disabled).

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

MORE INFORMATION

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

When you create a hyperlink with the Go To URL feature, FrontPage 2003 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 has been turned off, the onclick event is not processed, and a readable URL address is not created for screen reader software. You can use the <noscript> tag to work around the problem. The <noscript> tag would take the following form:
<noscript><a href=http://URL_Address>Link Text</a></noscript>
You would then change the HTML code segment to the following code:
<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 FrontPage 2003 or in SharePoint Designer 2007.
  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. In FrontPage 2003, click the Preview tab on the bottom of the page to preview the Web page. In SharePoint Designer 2007, select the File menu and then click Preview In Browser.

Properties

Article ID: 831082 - Last Review: June 20, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Office FrontPage 2003
  • Microsoft Office SharePoint Designer 2007
Keywords: 
kbprogramming kbwebbrowser kbhowto KB831082
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate