From 728b72cded61d976af09f4156bc32390460e5474 Mon Sep 17 00:00:00 2001 From: andrew-tram <106191140+andrew-tram@users.noreply.github.com> Date: Thu, 14 Aug 2025 16:06:02 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9CAppearance=20color=20options?= =?UTF-8?q?=E2=80=9D=20table=20rendering=20and=20accessibility=20in=20Pref?= =?UTF-8?q?erences?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The **"Appearance color options"** table in the *CSS Files → Editor → Appearance* preferences page was rendering with two columns instead of one, lacked a proper header for screen readers, and in some cases was not announced correctly by assistive technology. ### Changes Made - **Table recreation logic** - Dispose of any existing table and columns before creating a new instance. - Create a fresh `Table` with `SWT.FULL_SELECTION` and `TableColumnLayout` on the parent composite. - Use a single `TableViewerColumn` that displays both the color swatch (image) and label (text) in the same column. - **Header improvements** - Add a visible column header using `StructuredTextEditorPreferencePage_23`, stripping the mnemonic (`&`) and trailing colon. - Increase the column’s minimum width to prevent text truncation. - **Accessibility enhancements** - Add accessible name and help for the table so screen readers announce “Appearance color options.” - Provide row-level announcements in the format `Appearance color options: