Task: Refactor IRenderData and create IAccessibilityData #2798

Closed
opened 2026-01-30 23:05:24 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Jul 16, 2019).

Originally assigned to: @carlos-zamora on GitHub.

A TODO for after PR #1915

IRenderData is supposed to be read-only, acting only as a method of querying the state of the terminal/console. The methods added in the PR may change the state.

We should try and separate out what we need for accessibility into a new interface: IAccessibilityData

In my mind, I'd like it if the relationship between IRenderData and the necessary accessibility functions (IAccessibilityData) would look something like this:

IBaseData
├─ IRenderData
└─ IAccessibilityData

  • IBaseData would provide a limited view for what IAccessibilityData needs from IRenderData
  • IRenderData would look the same
  • IAccessibilityData would get these functions that I added here (that would alleviate your concern)
Originally created by @carlos-zamora on GitHub (Jul 16, 2019). Originally assigned to: @carlos-zamora on GitHub. A TODO for after PR #1915 `IRenderData` is supposed to be read-only, acting only as a method of querying the state of the terminal/console. The methods added in the PR may change the state. We should try and separate out what we need for accessibility into a new interface: `IAccessibilityData` In my mind, I'd like it if the relationship between `IRenderData` and the necessary accessibility functions (`IAccessibilityData`) would look something like this: `IBaseData` ├─ `IRenderData` └─ `IAccessibilityData` - `IBaseData` would provide a limited view for what `IAccessibilityData` needs from `IRenderData` - `IRenderData` would look the same - `IAccessibilityData` would get these functions that I added here (that would alleviate your concern)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2798