Re: [csswg-drafts] [css-display-4] Proposed alternative syntax for reading order (#9923)

Making the values extremely layout-specific was part of the earlier discussion for this topic. This was explicitly discussed, and the current design was important for acceptance of the feature.

1. We *do not* want to suggest that the values are usable on arbitrary layout modes; this property *does not have a noticeable effect* if you're not testing your site with a screen reader or similar tool, so the possibility that people slap it onto an element and just *assume* it works (but actually create an inaccessible document with nothing fixed) is very high if we're not careful with the design. Baking the display value into the keywords makes it much, much more obvious that you're doing something if you set `flex-visual` on a `display:block` or something.
2. As shown by the existing values, the sorts of ordering you want to do are pretty layout-specific. Being generic with names can be useful sometimes, when there are common notions between layout modes, but that's not the case here.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9923#issuecomment-1934689829 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 8 February 2024 18:16:05 UTC