rstudio/rstudio

Add Unique IDs for elements in Global Options

Aperta

#12.251 aperta il 28 ott 2022

 (4 commenti) (0 reazioni) (0 assegnatari)Java (1060 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (4384 stelle)
Metriche merge PR
 (Merge medio 14h 15m) (202 PR mergiate in 30 g)

Descrizione

Most of the individual elements (checkboxes, lists, etc) in the Global Options panels use IDs generated by gwt. Thus the id changes every time it's generated/loaded (I don't know the exact mechanism).

E.g <input type="checkbox" value="on" id="gwt-uid-982" tabindex="0">

This presents an accessibility problem, especially with our selenium based automation. There is no reliable way for selenium tests to access these elements without unique identifiers.

Guida contributor