Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(a11y): use list-style-type instead of list-style none to avoid losing semantic role in Safari#41778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
MaxLardenois wants to merge1 commit intotwbs:main
base:main
Choose a base branch
Loading
fromMaxLardenois:replace-list-type

Conversation

MaxLardenois
Copy link
Contributor

@MaxLardenoisMaxLardenois commentedSep 29, 2025
edited
Loading

Description

Replacelist-style: none bylist-style-type: ""

This is a new PR after I mistakenly closed the previous one (#41651) sorry about that

Motivation & Context

In Safari, usinglist-style: none will remove its semantic role of list, therefore it will not be announced by screen readers as such. One solution is to addrole: list on each affected lists but that means relying on a good usage and adds unnecessary code. Another solution asexplained here is to uselist-style-type: "" instead, this will have the same visual effect but won't remove semantic role.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read thecontributing guidelines
  • My code follows the code style of the project(usingnpm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@MaxLardenois@julien-deramond

[8]ページ先頭

©2009-2025 Movatter.jp