Accessibility testing is initiated on UI elements rendered in a web browser. The UI elements are associated with a web application. A document object model (DOM) corresponding to the UI elements is retrieved. The DOM corresponding to the UI elements is parsed to retrieve properties associated with the UI elements. Accessibility testing is performed on the UI elements by applying accessibility rules on the UI elements. Images of one or more UI elements are captured from among the UI elements. The accessibility test is performed on the images by applying accessibility rules on the images in an image-processing unit. A result of the accessibility testing is recorded in a file. The result of the accessibility testing is displayed in runtime of the web application in the web browser.
展开▼