Browse Prior Art Database

Method and System for Modifying a Source Code of a Web Page for Increased Compatibility with a Screen Reader

IP.com Disclosure Number: IPCOM000202418D
Publication Date: 2010-Dec-15
Document File: 4 page(s) / 92K

Publishing Venue

The IP.com Prior Art Database

Abstract

A method and system for modifying a source code of a web page for increasing compatibility with a screen reader is disclosed. The source code is modified in order to substantially increase the compliance of the source code with the screen reader and increase accessibility (a11y) of the web page.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 54% of the total text.

Page 01 of 4

Method and System for Modifying a Source Code of a Web Page for Increased Compatibility with a Screen Reader

Disclosed is a method and system for modifying a source code of a web page modifying a source code of a web page for increasing compatibility with a screen reader. Example of a screen reader includes, but is not limited to, Job Access With Speech (JAWS*). The source code is modified in order to substantially increase the compliance of the source code with the screen reader and increase accessibility (a11y) of the web page. The figure illustrates a flowchart depicting the modification of the source code for increasing the accessibility of the web page. Initially, a A11yController invokes a HTML Parser and a Code Parser for scanning the source code of the web page. The HTML Parser initially scans all the HTML elements present in the source code path and creates a data structure containing a list of HTML elements that are required to be made compliant with the screen reader. Similarly, the Code Parser scans the dynamic code in the source code and creates a data structure of dynamic code segments that are required to be made compliant with the screen reader. The code parser corresponds to a framework used in the source code of the web page. For example, a DOJOA11yParser is invoked for a DOJO** based web page, a WicketA11yParser is invoked for a Wicket*** based web page, and a JSPA11yParser is used for a Java**** Server Page (JSP) based web page as illustrated in the figure.

The data structures from the HTML parser and the code parser are provided to a A11y Marker, which updates the source code with the required modifications to make the source code compliant with the screen reader. For example, a segment of a HTML code from source code may be initially coded as:


<tr class='c

<td class='c

<td class='c

<

.

Accordingly, the a11y marker modifies the HTML code to:

<tr class='c

<td class='c

_baGeneralInfoTableRow'>

_baBoldNoWrap'>${tagsTextFieldLabel

}<

/

td>

_baGeneralInfoTableExpand'>

<input id='${generalSectionID

}_

/>

TagsText' style='width:100%' type='text'

/

      td> <

/tr>

_baGeneralInfoTableRow'>

_baBoldN...