Re: [w3ctag/design-reviews] CSS inert (Issue #1055)

martinthomson left a comment (w3ctag/design-reviews#1055)

OK, I think that you mostly answered my question.  This was not really about whether inertness could be useful (your example clearly demonstrates that), but about the accessibility properties you get.

Consider my budget vertical carousel:

```html
  <style> div { height: 1.2em; margin: 0; padding: 0; } </style>
  <div style="overflow-y: auto">
    <div><a href="#">One</a></div>
    <div><a href="#">Two</a></div>
    <div><a href="#">Three</a></div>
  </div>
```

Right now, I can tab through the items and they each show in turn.  When I have any of the items focused, the arrow keys scroll the box.  If item three is inert because it is not visible, would that continue to work?  Does it require some additional, special action on the part of the developer to have that work?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1055#issuecomment-2686213530
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1055/2686213530@github.com>

Received on Wednesday, 26 February 2025 21:15:33 UTC