Identifying keyboard inaccessible node on web page
AssigneeInternational Business Machines Corporation
InventorsJie Hu, Yang Liu, Ling Luo
Life of this patent
Estimating the term…
Abstract
A method and apparatus for identifying a keyboard inaccessible node on a web page. The method may include acquiring all nodes in a DOM tree of the web page; identifying a mouse operable node among all the nodes; checking whether or not said mouse operable node is keyboard navigable and whether or not said mouse operable node is keyboard operable; and extracting the keyboard non-navigable node and the keyboard inoperable node as said keyboard inaccessible node.
Claims20
A method of identifying a keyboard inaccessible node on a web page, comprising:
- acquiring all nodes in a document object model (DOM) tree of the web page;
- identifying a mouse operable node among all the nodes, identifying a mouse operable node among all the nodes comprising:
- simulating a mouse event on each node among all the nodes;
- checking if said mouse operable node is keyboard navigable and if said mouse operable node is keyboard operable;
- and
- extracting a number of keyboard non-navigable nodes and number of keyboard inoperable nodes as keyboard inaccessible nodes.
An apparatus for identifying a keyboard inaccessible node on a web page, comprising:
- an acquiring unit to acquire all nodes in a document object model (DOM) tree of the web page;
- a first identification unit to identify a mouse operable node among all the nodes, in which the first identification unit identifies a mouse operable node among all the nodes by simulating a mouse event on each node among all the nodes;
- a second identification unit to check if said mouse operable node is keyboard navigable and if said mouse operable node is keyboard operable;
- and
- a determination unit to determine whether the mouse operable node is a keyboard non-navigable node and determine whether the mouse operable node is a keyboard inoperable node, and if so, extract the keyboard non-navigable node and keyboard inoperable node as said keyboard inaccessible node.
A method of identifying a keyboard inaccessible node on a web page, comprising:
- detecting a number of nodes within a document object model (DOM tree of the web page;
- identifying a mouse operable node among the detected nodes by simulating a mouse event on each of said number of nodes within the DOM tree and determining whether the web page state has changed upon operation of the simulation;
- determining if said mouse operable node is keyboard navigable and if said mouse operable node is keyboard operable;
- and
- defining keyboard non-navigable nodes and keyboard inoperable nodes as said keyboard inaccessible node.
A method of identifying a keyboard inaccessible node on a web page, comprising:
- detecting a number of nodes within a document object model (DOM) tree of the web page;
- identifying a mouse operable node among the detected nodes;
- determining if said mouse operable node is keyboard navigable and if said mouse operable node is keyboard operable by simulating a keyboard event on each of a number of mouse operable nodes within the DOM tree and determining whether the web page state has changed upon operation of the simulation;
- and
- defining keyboard non-navigable nodes and keyboard inoperable nodes as said keyboard inaccessible node.
Dependencies are inferred from the claim text.