material-components / material-components/material-components-android

[DatePicker] [A11y] List of years unreadable when setting font size to largest on some devices

Open
#3,388 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: DatePicker
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** When using certain devices (see below), setting the font size to largest results in list of years that is unreadable.

**Expected behavior:** I would expect all the years to be readable, even if it's necessary to go to two columns.

**Source code:** The issue can be reproduced with the M3 Catalog app (see screenshot).

**Minimal sample app repro:** The issue can be reproduced with the M3 Catalog app (see screenshot).

**Android API version:** API 29

**Material Library version:** M3 Catalog app was built off of master branch

**Device:** Galaxy S20

![YearList](https://github.com/material-components/material-components-android/assets/26826628/c8c4ed53-fd8b-4fe8-a66c-e771136293b7)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the M3 Catalog app on a Galaxy S20 with Android API 29 and the largest system font size, then inspect the DatePicker year list behavior. Done means all years remain readable at the reported font size, including by using two columns if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
accessibility, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.