Geometry subvolume/CSG palette is confusable under deuteranopia (#1605 audit G2)

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

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

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

評価

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

調査の方向性

Start at DisplayAdapterService.createContrastColorModel() in vcell-core (image/DisplayAdapterService.java:290) to see how handles 0-7 get their hue, saturation and brightness; keep that formula for higher handles. Read ColorAccessibilityTest to learn the palette check used by the #1605 remediation (delta-E-prime >= 10 under protan, deutan and tritan simulation) and how a palette is fed to it. Done = handles 0-7 pass that test, the five listed renderers and panels still draw distinct swatches, and a release note records that every geometry's on-screen colors change.

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

説明

Accessibility Requirement Java-based User Interface

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

Finding. DisplayAdapterService.createContrastColorModel() (vcell-core/.../cbit/image/DisplayAdapterService.java:290) cycles hue in steps of 0.1 with alternating saturation and brightness. It colors subvolumes and CSG objects in:

  • the geometry viewer,
  • GeometrySubVolumeTableCellRenderer,
  • CSGObjectTreeCellRenderer,
  • StructureMappingTableModel / StructureMappingTableRenderer,
  • GeometrySummaryPanel.

Handles 0–7 measure a worst-pair ΔE′ of 2.0 under deuteranopia simulation (handles 1 and 4), and 3 of 8 colors are below 3:1 on white.

Every table and tree swatch sits next to the subvolume name, so WCAG 1.4.1 is met there. The geometry image mapping is fixed separately under #1605, which puts the name in the hover readout.

Proposal. Replace the first handles with a measured categorical sequence (ΔE′ ≥ 10 under protan, deutan and tritan simulation), keeping the formula for higher handles. Colors are computed from the handle index and not persisted, so saved models are unaffected, but every geometry's on-screen colors change. That needs a release note.

Acceptance. Handles 0–7 pass the palette check used by the #1605 remediation (ColorAccessibilityTest).

Part of #1603.

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

環境構築

はじめの一歩

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

virtualcell/vcell のほかの issue

virtualcell/vcell の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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