ionic-team / ionic-team/ionic-framework

bug: IOS dark/light button and item focus does not have sufficient contrast (accessibility issue)

未关闭
#21,149 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
a11y package: core type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Bug Report

**Ionic version:**
[x] **4.x**

**Current behavior:**
When tabbing to the IOS dark button, there is no visible change in styles to indicate that the button has focus. (The Material/Andriod dark button has a visible change.)

**Expected behavior:**
A visible change in the styling to indicate it has focus.

**Steps to reproduce:**
1. Visit https://ionicframework.com/docs/api/button, or any 4.x IOS application with a `Dark` (or Angular/etc. equivalent)
2. Tab to the dark button to give it focus

贡献指南

打开贡献指南

调研方向

Start by reproducing the issue on the Ionic button API page with an iOS-style dark IonButton, then compare its focus behavior with the Material/Android dark button. Done means tabbing to the iOS dark button produces a visible focus style with sufficient contrast.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
accessibility, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。