Microsoft KB Archive/831082: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - ">" to ">") |
||
Line 42: | Line 42: | ||
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).<br /> | 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).<br /> | ||
<br /> | <br /> | ||
If the '''Scripting''' option is turned off, you must use the ''<noscript | If the '''Scripting''' option is turned off, you must use the ''<noscript>'' tag so that the screen readers can follow the hyperlink. | ||
</div> | </div> | ||
Line 52: | Line 52: | ||
<br /> | <br /> | ||
When you create a hyperlink with the Go To URL feature, FrontPage 2003 creates the following Jscript code segment to handle the URL address: | When you create a hyperlink with the Go To URL feature, FrontPage 2003 creates the following Jscript code segment to handle the URL address: | ||
<pre class="codesample"><p | <pre class="codesample"><p><input type="button" value="Link Button" name="B1" | ||
onclick="FP_goToURL(/*href*/'http://URL_Address')" | onclick="FP_goToURL(/*href*/'http://URL_Address')"></p></pre> | ||
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 | 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: | ||
<pre class="codesample"><noscript | <pre class="codesample"><noscript><a href=http://URL_Address>Link Text</a></noscript></pre> | ||
You would then change the HTML code segment to the following code: | You would then change the HTML code segment to the following code: | ||
<pre class="codesample"><p | <pre class="codesample"><p><input type="button" value="Link Text" name="B1" | ||
onclick="FP_goToURL(/*href*/'http://URL_Address')" | onclick="FP_goToURL(/*href*/'http://URL_Address')"> | ||
<noscript | <noscript><a href=http://URL_Address>Link Text</a></noscript></p></pre> | ||
To change the HTML code segment, follow these steps: | To change the HTML code segment, follow these steps: | ||
# Open the Web page that you want to change in FrontPage 2003 or in SharePoint Designer 2007. | # Open the Web page that you want to change in FrontPage 2003 or in SharePoint Designer 2007. | ||
# Click the button or the object that you want to change on the Web page. | # 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. | # 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 | # Add the ''<noscript>'' HTML code before the ''</p>'' tag. | ||
# 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'''. | # 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'''. | ||
Latest revision as of 10:22, 21 July 2020
Article ID: 831082
Article Last Modified on 6/20/2007
APPLIES TO
- Microsoft Office FrontPage 2003
- Microsoft Office SharePoint Designer 2007
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:
- Open the Web page that you want to change in FrontPage 2003 or in SharePoint Designer 2007.
- 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 tag.
- 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.
Additional query words: FP FP2003 accessibility SPD2007
Keywords: kbprogramming kbwebbrowser kbhowto KB831082