Automatically fixing inaccessible widgets during mobile application execution
First Claim
Patent Images
1. A method comprising:
- identifying, during execution of a mobile application, an image element from a set of one or more user interface elements of the mobile application that is inaccessible to a set of users, wherein said set of users comprises at least one of (i) one or more users with a hearing impairment and (ii) one or more users with a vision impairment, wherein said identifying comprises determining that the image element is one of;
an ImageButton type element and an ImageView type element based on corresponding user interface element type information derived from a user interface view hierarchy of a given user interface screen, wherein the user interface view hierarchy is an extensible markup language representation of the given user interface screen and comprises multiple items of information pertaining to each user interface element in the screen, wherein said multiple items of information comprise user interface element type, user interface element label, and bounding coordinates of the user interface element;
transmitting an image associated with the image element to an image-based content retrieval application programming interface;
generating, during execution of the mobile application and via the image-based content retrieval application programming interface, a text description associated with the image element;
extracting, during execution of the mobile application, at least a portion of the text description related to an accessibility property of the image element; and
adjusting, during execution of the mobile application, the accessibility property of the image element to render the image element accessible to the set of users;
wherein said identifying, said transmitting, said generating, said extracting, and said adjusting are carried out by at least one computing device.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and articles of manufacture for automatically fixing inaccessible widgets during mobile application execution are provided herein. A method includes identifying an image element from a set of one or more user interface elements of an application that are inaccessible to a given set of users; generating a text description associated with the image element; extracting a portion of the text description related to an accessibility property of the image element; and adjusting the accessibility property of the image element to render the image element accessible to the given set of users.
-
Citations
14 Claims
-
1. A method comprising:
-
identifying, during execution of a mobile application, an image element from a set of one or more user interface elements of the mobile application that is inaccessible to a set of users, wherein said set of users comprises at least one of (i) one or more users with a hearing impairment and (ii) one or more users with a vision impairment, wherein said identifying comprises determining that the image element is one of;
an ImageButton type element and an ImageView type element based on corresponding user interface element type information derived from a user interface view hierarchy of a given user interface screen, wherein the user interface view hierarchy is an extensible markup language representation of the given user interface screen and comprises multiple items of information pertaining to each user interface element in the screen, wherein said multiple items of information comprise user interface element type, user interface element label, and bounding coordinates of the user interface element;transmitting an image associated with the image element to an image-based content retrieval application programming interface; generating, during execution of the mobile application and via the image-based content retrieval application programming interface, a text description associated with the image element; extracting, during execution of the mobile application, at least a portion of the text description related to an accessibility property of the image element; and adjusting, during execution of the mobile application, the accessibility property of the image element to render the image element accessible to the set of users; wherein said identifying, said transmitting, said generating, said extracting, and said adjusting are carried out by at least one computing device. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
-
identify, during execution of a mobile application, an image element from a set of one or more user interface elements of the mobile application that is inaccessible to a set of users, wherein said set of users comprises at least one of (i) one or more users with a hearing impairment and (ii) one or more users with a vision impairment, wherein identifying comprises determining that the image element is one of;
an ImageButton type element and an ImageView type element based on corresponding user interface element type information derived from a user interface view hierarchy of a given user interface screen, wherein the user interface view hierarchy is an extensible markup language representation of the given user interface screen and contains multiple items of information pertaining to each user interface element in the screen and, wherein said multiple items of information comprise user interface element type, user interface element label, and bounding coordinates of the user interface element;transmit an image associated with the inaccessible image element to an image-based content retrieval application programming interface; generate, during execution of the mobile application and via the image-based content retrieval application programming interface, a text description associated with the image element; extract, during execution of the mobile application, a portion of the text description related to an accessibility property of the image element; and adjust, during execution of the mobile application, the accessibility property of the image element to render the image element accessible to the set of users. - View Dependent Claims (7)
-
-
8. A method comprising steps of:
-
identifying, during execution of a mobile application, an image element and a text element, from a set of one or more user interface elements of the mobile application, that are inaccessible to a set of users, wherein said set of users comprises at least one of;
(i) one or more users with a hearing impairment and (ii) one or more users with a vision impairment, wherein said identifying comprises determining that the text element is a TextField type element and the image element is one of;
an ImageButton type element and an ImageView type element based on corresponding user interface element type information derived from a user interface view hierarchy of a given user interface screen, wherein the user interface view hierarchy is an extensible markup language representation of the given user interface screen and contains data pertaining to each user interface element in the screen;transmitting the text element to an associated label mapping application programming interface and an image associated with the inaccessible image element to an image-based content retrieval application programming interface; determining, during execution of the mobile application and via the associated label mapping application programming interface, an associated label within a vicinity of the identified text element; extracting, during execution of the mobile application, multiple properties of the associated label, wherein said multiple properties are related to an accessibility property of the identified text element, and wherein said multiple properties comprise label type, label description, and bounding coordinates relative to the inaccessible text element; generating, during execution of the mobile application and via the image-based content retrieval application programming interface, a text description associated with the inaccessible image element; extracting, during execution of the mobile application, at least a portion of the text description related to an accessibility property of the inaccessible image element; and adjusting, during execution of the mobile application, the accessibility property of each of the identified text element and the identified image element to render the identified text element and the identified image element accessible to the set of users; wherein the steps are carried out by at least one computing device. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
-
identify, during execution of a mobile application, an image element and a text element, from a set of one or more user interface elements of the mobile application, that are inaccessible to a set of users, wherein said set of users comprises at least one of;
(i) one or more users with a hearing impairment and (ii) one or more users with a vision impairment, wherein said identifying comprises determining that the text element is a TextField type element and the image element is one of;
an ImageButton type element and an ImageView type element based on corresponding user interface element type information derived from a user interface view hierarchy of a given user interface screen, wherein the user interface view hierarchy is an extensible markup language representation of the given user interface screen and contains data pertaining to each user interface element in the screen;transmit the text element to an associated label mapping application programming interface and an image associated with the inaccessible image element to an image-based content retrieval application programming interface; determine, during execution of the mobile application and via the associated label mapping application programming interface, an associated label within a vicinity of the identified text element; extract, during execution of the mobile application, multiple properties of the associated label, wherein said multiple properties are related to an accessibility property of the identified text element, and wherein said multiple properties comprise label type, label description, and bounding coordinates relative to the inaccessible text element generate, during execution of the mobile application and via the image-based content retrieval application programming interface, a text description associated with the inaccessible image element; extract, during execution of the mobile application, at least a portion of the text description related to an accessibility property of the inaccessible image element; and adjust, during execution of the mobile application, the accessibility property of each of the identified text element and the identified image element to render the identified text element and the identified image element accessible to the set of users. - View Dependent Claims (14)
-
Specification