Task: Refactor IRenderData
and create IAccessibilityData
#1992
Labels
Area-Accessibility
Issues related to accessibility
Area-CodeHealth
Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Issue-Task
It's a feature request, but it doesn't really need a major design.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Conhost
For issues in the Console codebase
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
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 whatIAccessibilityData
needs fromIRenderData
IRenderData
would look the sameIAccessibilityData
would get these functions that I added here (that would alleviate your concern)The text was updated successfully, but these errors were encountered: