Coder Social home page Coder Social logo

carousel's People

Contributors

argyleink avatar bramus avatar egirard avatar flackr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

carousel's Issues

Focus order of pseudo-element scroll markers

What should the focus order of the generated scroll markers be? Currently what's implemented in the polyfill puts them immediately after the scrollable area, but the tree order for pseudo elements would usually place them immediately after their originating element.

there are a few options here:

  1. Immediately before the scrollable area.
  2. Immediately after the scrollable area.
  3. In the order of their originating DOM elements.

I suspect that there are use cases where you would expect 1 (tab-like interfaces) or 2 (marker-like interfaces) depending on where visually the scroll markers appear.

This could be a little odd in that the only tabbable scroll marker, the active one, could be either before or after the content you have focused in the scroller.

scroll-marker from dom?

If I am understanding properly, the really powerful thing about the scroll-marker idea is that it lets you write something to style the 'active one' with :checked, like ::scroll-marker:checked { background: pink; }. This would be super to be able to mix with the grid-flow example because very often it would be the case where if using this for something more like 'tabs' (panelset-style tabs at least) it's not likely to be possible or easy to do that part in CSS. Is there a way you could do this? The only one I could maybe think of is via :attr(), but ideally that would not be just through an attribute for internationalization/localization reasons

Next and previous buttons need audible labels

todo:

  • swap > and < text content for Next and Previous text
  • hide text visually and replace with an icon

might be able to get away with a win win svg solution, where the svg icon has a text node. or a title on the button. needs tested, but screen readers need to know what the button does.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.