w3c / afrlreq

African language enablement for the Web
9 stars 6 forks source link

Should bars in HTML progress and meter elements be read RTL? #24

Open r12a opened 1 year ago

r12a commented 1 year ago

Background

This question was prompted by the HTML issue at https://github.com/whatwg/html/issues/8413

Currently, for RTL script text Blink, WebKit and Gecko engines all reverse the direction of the progress bar when progress, meter or input=range elements are used in HTML when the text direction is RTL.

This means that the direction of the controls is the same as the reading direction of the text. For example, the following is for N'Ko. Adlam would look the same.

Screenshot 2022-10-25 at 17 12 23

Test for meter

Test for progress

Test for range input control

Question

Is it preferable for the direction of the control to follow the direction of the surrounding text, or should it always progress from left to right?