FRAP analysis table: red-on-pink text is 2.21:1 (#1605 audit X3)

オープン 初心者向け
#2,134 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java
領域
frontend

調査の方向性

まず vcell-client/.../microscopy/gui/estparamwizard/AnalysisTableRenderer.java の FRAP パラメータ推定レンダラーの 85〜121 行目あたりを確認する。そこでは非同定可能な行のために Color.red が (255,170,170) に対して使われている。#1605 の是正で追加されたアクセシブルなエラーテキスト色について GuiConstants を調べ(文脈は docs/accessibility/color-audit.md の行 X3 を参照)、それと組み合わせて 4.5:1 に達する背景ペアを選んでから、古くなった 'significant in green' コメントを修正する。完了の条件は、レンダラーが使用するすべての前景/背景ペアについて ≥ 4.5:1 を主張する新しいユニットテストが作成され、それが通過すること。

索引モデルが issue の本文から書いたものです。

説明

Accessibility Requirement Java-based User Interface

Follow-up from the #1605 color audit, row X3 (docs/accessibility/color-audit.md).

Finding. In the FRAP parameter-estimation analysis table (vcell-client/.../microscopy/gui/estparamwizard/AnalysisTableRenderer.java, around lines 85–121), non-identifiable results are shown with the text NOT IDENTIFIABLE (so WCAG 1.4.1 is met). Their cells, though, use Color.red text on a (255,170,170) background, which is 2.21:1, below WCAG 1.4.3's 4.5:1. Plain red text in the same renderer is 4.00:1 on white, also below. The code comment says "significant in green", but the code draws no green.

Fix. Use the accessible error-text color added to GuiConstants by the #1605 remediation, and a background that keeps ≥ 4.5:1 with it. Correct the stale comment.

Acceptance. A unit test asserts ≥ 4.5:1 for every foreground/background pair the renderer uses.

Part of #1603.

主要言語
Java
スター
140
フォーク
35
平均マージ
17時間 39分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

virtualcell/vcell のほかの issue

virtualcell/vcell の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。