Skip to content

Conversation

andrew-tram
Copy link
Contributor

Refactors ExclusionsTab to use CheckboxTableViewer with ArrayContentProvider, removing the custom tree provider. Adds AccessibleListener so screen readers announce correct check/uncheck actions and distinguish duplicate entries (e.g., multiple “DTD” items). Improves maintainability and accessibility without changing functionality.

image

Refactors ExclusionsTab to use CheckboxTableViewer with ArrayContentProvider, removing the custom tree provider. Adds AccessibleListener so screen readers announce correct check/uncheck actions and distinguish duplicate entries (e.g., multiple “DTD” items). Improves maintainability and accessibility without changing functionality.
The warning message in the Task Tag preference tab was previously created with a plain Label, which was not being read out by screen readers. This has been refactored to use a Text control in read-only, wrap, and multi-line mode so that assistive technologies can announce the content properly.

Additional adjustments:
-Applied a GridData with widthHint to make the control slightly wider than its natural size for better readability
- Styled the Text with system background and foreground colors to visually match surrounding labels
The “Hover Preferences” heading was previously implemented as a plain Label. Since Label text was not being announced by assistive technologies, it has been replaced with a Text control configured as read-only, wrapped, and multi-line.

Changes include:
- Replaced Label with Text (SWT.READ_ONLY | SWT.WRAP | SWT.MULTI).
- Preserved layout by reusing the same GridData constraints.
- Applied system background/foreground colors so the Text visually blends in with surrounding labels.
The encoding description in the JSON Files preference page was previously implemented as a plain Label, which was not announced by screen readers. This has been updated to use a Text control in read-only, wrap, and multi-line mode.

Changes include:
- Replaced Label with Text so the content can be focused and read by assistive technologies.
- Applied GridData with 2-column span to maintain layout.
- Styled background/foreground to visually match surrounding labels.
The encoding description in the JSON Files preference page was previously implemented as a plain Label, which was not announced by screen readers. This has been updated to use a Text control in read-only, wrap, and multi-line mode.

Changes include:
- Replaced Label with Text so the content can be focused and read by assistive technologies.
- Applied GridData with 2-column span to maintain layout.
- Styled background/foreground to visually match surrounding labels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant