wai-tutorials icon indicating copy to clipboard operation
wai-tutorials copied to clipboard

Carousels Styling for Mobile

Open brewerj opened this issue 8 years ago • 1 comments

Proposed new tip ("Responsive design") to improve coverage for responsive design of carousels.

If confirmed, add note "Developed with support from WCAG TA Project"

brewerj avatar Jun 23 '17 02:06 brewerj

Regarding Carousel text size, is there a recommendation on a preferred size that is "not too small" and is "large enough", ex. Carousel text should be at least XX size and should not be cut off from view.

nrhsinclair avatar Jul 05 '17 16:07 nrhsinclair

Pulling together the comments: "Avoid use of text that is too small for easy reading or that is cut off. Navigation buttons to control the slides, like all interactive elements, need to be large enough to tap and have associated labels."

brianelton avatar May 09 '23 17:05 brianelton

The first part of this page has info about button size, so part of this new section may be redundant and unnecessary. Perhaps the messaging should be that even in a smaller viewport there should still be navigation buttons and not just rely on swiping to move the carousel items.

"Avoid use of text that is too small for easy reading or that is cut off. Navigation buttons to control the slides should still be present to avoid the reliance on swipe gestures"

brianelton avatar May 09 '23 18:05 brianelton

I agree with @brianelton. The button size text is very specific:

Button Size Use appropriately sized buttons and links, and provide whitespace around them, to allow people with reduced dexterity to use the carousel more easily. This also benefits people using touch screens, such as on mobile devices. Buttons and links that are not inline in a block of text should be at least 44 × 44 CSS pixels.

So +1 to:

"Avoid use of text that is too small for easy reading or that is cut off. Navigation buttons to control the slides should still be present to avoid the reliance on swipe gestures"

lakeen avatar May 09 '23 18:05 lakeen

Updates covered in #721. Closing PR.

brianelton avatar May 09 '23 19:05 brianelton