Highlighting of tappable web page elements
First Claim
1. A method of highlighting tappable web page elements on a touchscreen display, the method comprising:
- displaying at least a portion of a web page on the touchscreen display, the web page comprising a plurality of hierarchically arranged web page elements that inherit properties of ancestor elements;
detecting a touch to the touchscreen display at a touch location;
determining, from the plurality of elements, a touched element displayed on the touchscreen display at the touch location;
determining whether the touched element is tappable, wherein determining whether the touched element is tappable comprises determining whether the touched element is intrinsically tappable due to its type, has a touch event handler or a mouse event handler associated with it, or because one of its ancestor elements is tappable;
based on a number of characters and a number of tags in the touched element, determining a complexity of the touched element;
determining whether the touched element is to be highlighted based at least on whether the touched element is tappable, a touched element size, and the touched element complexity, wherein the touched element is tappable but determined not to be highlighted based at least on the touched element size and the touched element complexity; and
based on whether the touched element is determined to be highlighted, choosing between highlighting and not highlighting the touched element on the touchscreen display.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods for highlighting tappable web page elements in response to a touch detect a touch to a touchscreen display, determine that a touched element displayed at the touch location, and determine whether and how the touched element is to be highlighted. Highlighting can be based on various touched element properties. In one embodiment, if a touched element is not tappable, the element is not highlighted. If the touched element is editable, the element is highlighted. A region around the touch location is highlighted if the touched element is an image map or SVG element and a portion of the element at the touch location is tappable. A touched element is also highlighted if the element has an inline display style or is a highlight element type. The touched element is not highlighted if its size and complexity exceed size and complexity thresholds.
-
Citations
21 Claims
-
1. A method of highlighting tappable web page elements on a touchscreen display, the method comprising:
-
displaying at least a portion of a web page on the touchscreen display, the web page comprising a plurality of hierarchically arranged web page elements that inherit properties of ancestor elements; detecting a touch to the touchscreen display at a touch location; determining, from the plurality of elements, a touched element displayed on the touchscreen display at the touch location; determining whether the touched element is tappable, wherein determining whether the touched element is tappable comprises determining whether the touched element is intrinsically tappable due to its type, has a touch event handler or a mouse event handler associated with it, or because one of its ancestor elements is tappable; based on a number of characters and a number of tags in the touched element, determining a complexity of the touched element; determining whether the touched element is to be highlighted based at least on whether the touched element is tappable, a touched element size, and the touched element complexity, wherein the touched element is tappable but determined not to be highlighted based at least on the touched element size and the touched element complexity; and based on whether the touched element is determined to be highlighted, choosing between highlighting and not highlighting the touched element on the touchscreen display. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. One or more computer-readable storage media storing computer-executable instructions for causing a computing device to perform a method of highlighting tappable web page elements displayed on a touchscreen display, the method comprising:
-
displaying a web page on the touchscreen display, the web page comprising a plurality of elements; detecting a touch to the touchscreen display at a touch location; determining, from the plurality of elements, a touched element displayed at the touch location; based on a number of characters and a number of tags in the touched element, determining a touched element complexity; determining whether to highlight the touched element, the determining performed via a process comprising; if the touched element is not tappable, determining not to highlight the touched element; if the touched element is editable, determining to highlight the touched element; if the touched element comprises an image and defines one or more regions that are tappable, determining to highlight a region of the image around the touch location; if the touched element has an inline display style or a type of the touched element is a highlight element type, determining to highlight the touched element; and if a touched element size exceeds a size threshold and the touched element complexity exceeds a complexity threshold, determining not to highlight the touched element; wherein the size threshold and the complexity threshold are based on a display size and a display magnification factor; wherein the determining determines that the element is tappable, but based at least on the touch element size and the touched element complexity, the element is determined not to be highlighted; and highlighting or not highlighting the touched element according to the determining whether to highlight the touched element. - View Dependent Claims (11, 12, 13)
-
-
14. One or more computer-readable storage media storing computer-executable instructions for causing a computing device to perform a method of highlighting tappable web page elements displayed on a touchscreen display, the method comprising:
-
displaying at least a portion of a web page on the touchscreen display of the computing device, the web page comprising a plurality of hierarchically arranged web page elements that inherit properties of ancestor elements; detecting a touch to the touchscreen display at a touch location; determining, from the plurality of elements, a touched element displayed on the touchscreen display at the touch location; determining whether the touched element is tappable, wherein determining whether the touched element is tappable comprises determining whether the touched element is intrinsically tappable due to its type, has a touch event handler or a mouse event handler associated with it, or because one of its ancestor elements is tappable; based on a number of characters and a number of tags in the touched element, determining a complexity of the touched element; determining whether the touched element is to be highlighted based at least on whether the touched element is tappable, a touched element size, and the touched element complexity, wherein the touched element is tappable but determined not to be highlighted based at least on the touched element size and the touched element complexity; and based on whether the touched element is determined to be highlighted, choosing between highlighting and not highlighting the touched element on the touchscreen display. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
Specification