摘要:
A method, data processing system and computer program product for maintaining/updating managing keyboard navigation using a linked list. In particular, a Dynamic Tree Control Linkage (DTCL) utility creates a doubly linked list with list nodes having assigned values based on a tree control structure UI component. Each list node of the doubly linked list corresponds to a visible tree item of the tree structure UI component. Responding to a keyboard event signal, the DTCL utility finds a current list node corresponding to a first current tree item. The DTCL utility finds a next (i.e. previous or subsequent) list node corresponding to a next tree item. The DTCL utility detects a list node exists. The DTCL utility detects whether the next list node is associated with a null value. When the next list node is associated with a non-null value, the next tree item is identified. The DTCL utility returns an identification of the next tree item representing a second current tree item. The DTCL utility also updates the doubly linked list in response to the expansion/collapsion of the current list item. The DTCL utility avoids the need to number all tree items (both visible and hidden tree items) sequentially by adding list node(s) to or removing list node(s) from the linked list to represent the visible tree items.
摘要:
Accessible role and state information may be included in hypertext markup language documents by encoding an accessibility definition into a class attribute. The accessibility definition corresponds with an object of a hypertext markup language document and comprises role information and state information if state information is applicable to the corresponding role information. A script is associated with the hypertext markup language document and is configured for parsing at least a portion of the hypertext markup language document to identify the accessibility definition. The script further maps the role information and the state information in the accessibility definition to corresponding namespaced role and state attributes.
摘要:
Described herein are processes and devices that determine a high contrast setting on a client. Some embodiments include creating an object in a web document, assigning a pre-determined color value to the object, associating the object to the web document, and generating a computed color display value for the object in response to the object being associated with the web document. Some embodiments are further directed to comparing the pre-determined color value to the computed color display value and generating a result based on the comparing of the pre-determined color value to the computed color display value, which result indicates whether the system is set to the high contrast setting. Some embodiments are further directed to storing the result in a variable; and sending the variable to a server to process additional web documents, using the variable, before the additional web documents are loaded onto the client device.
摘要:
The present invention discloses a system for providing real-time validation of text input fields in a Web page during text entry. Such a system can include a validation-enhanced text input element and an input text validator. The validation-enhanced text input element can be configured to contain a validation expression for a text field in a Web page. The validation-enhanced text input element can be contained in the source code document that corresponds to the Web page. The input text validator can be configured to validate a character entered into the text field against the validation expression in real-time. Characters determined as invalid can be visually indicated by the input text validator in the text field.
摘要:
The present invention is a method for providing a navigable grid to allow for accessible drag-drop in visual modeling tools. The method includes receiving an input which selects an object. The method further includes providing a visual canvas on a display device. The method further includes overlaying the navigable grid onto the visual canvas, the overlying navigable grid being of a defined granularity, the defined granularity being based on an underlying application being implemented, the overlying navigable grid further being keyed input device-navigable based on the defined granularity. The method further includes designating a drop position on the navigable grid when a position input is received via a keyed input device. The method further includes dropping the object onto a destination position of the visual canvas when a drop command input is received. Further, the drop position on the overlying navigable grid is directly aligned over the destination position of the visual canvas.
摘要:
Described herein are processes and devices that determine a high contrast setting on a client. Some embodiments include creating an object in a web document, assigning a pre-determined color value to the object, associating the object to the web document, and generating a computed color display value for the object in response to the object being associated with the web document. Some embodiments are further directed to .comparing the pre-determined color value to the computed color display value and generating a result based on the comparing of the pre-determined color value to the computed color display value, which result indicates whether the system is set to the high contrast setting. Some embodiments are further directed to storing the result in a variable; and sending the variable to a server to process additional web documents, using the variable, before the additional web documents are loaded onto the client device.
摘要:
Described herein are processes and devices that determine a high contrast setting on a client. One of the devices described is a high contrast mode detector. The high contrast mode detector creates an object in a web document and assigns a pre-determined value to a displayable property of the object. The predetermined value is different than a high contrast value that the client would use to display the web document object if a high contrast setting is enabled. The high contrast mode detector associates the object with the web document. The client generates a computed value used to display the object. If high contrast mode is enabled, the client applies the high contrast value as the computed value, otherwise the client applies the pre-determined value. The high contrast mode detector compares the pre-determined value to the computed value and detects the high contrast setting based on the comparison result.
摘要:
Described herein are processes and devices that determine a high contrast setting on a client. One of the devices described is a high contrast mode detector. The high contrast mode detector creates an object in a web document and assigns a pre-determined value to a displayable property of the object. The predetermined value is different than a high contrast value that the client would use to display the web document object if a high contrast setting is enabled. The high contrast mode detector associates the object with the web document. The client generates a computed value used to display the object. If high contrast mode is enabled, the client applies the high contrast value as the computed value, otherwise the client applies the pre-determined value. The high contrast mode detector compares the pre-determined value to the computed value and detects the high contrast setting based on the comparison result.
摘要:
A user interface for repositioning Web page components that includes an HTML table. Each cell of the table can represents a Web page component that is able to be repositioned. Each cell can include an identifier and a user selectable position control. The identifier can identify the Web page component. The user selectable position control can accept user input designating a position of the component within the Web page. An activation control can accept input entered within the user selectable position control when selected. Activation of the activation control can result in the Web page being reconfigured so that the position of the Web page components corresponds to positions specified by the position controls. In one embodiment, the user interface can be an accessibility option for users having difficulty with a drag and drop interface.
摘要:
Accessibility compliance is provided within advanced componentry, such as a browser in which an on-demand editor can be launched. A toolkit of functionality that is executable on a server is preferably provided, from which selections can be made to configure an instance of a client editor or similar client-side viewer. Techniques are disclosed that enable flexible specification of the controls to be added to the viewer instance, as well as specification of details for configuring the controls.