[UIA] Support text attributes
Categories
(Core :: Disability Access APIs, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: Jamie, Assigned: nlapre)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
This will allow for exposing formatting information, headings, spelling errors, etc. We need to support ITextRangeProvider::GetAttributeValue.
| Assignee | ||
Comment 1•1 year ago
|
||
We should first add support for TextUnit_Format, so we have an established way to navigate text runs.
| Assignee | ||
Comment 2•1 year ago
|
||
This revision implements GetAttributeValue on UiaTextRange. It does not add
support for every UIA text attribute, but does implement eight and lays the
groundwork to implement the rest. To keep GetAttributeValue straightforward, it
mainly contains a switch statement that dispatches a templated GetAttribute
function which makes use of an templated AttributeTraits struct to determine
whether the text attribute is uniform throughout the text range. Finally, this
revision adds a bunch of tests for this new functionality.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
This revision implements the annotation types attribute and a few of its
associated annotation types. Namely, implemented here are SpellingError,
GrammarError, DataValidationError, and Highlighted. This revision also
implements tests for this new functionality.
| Assignee | ||
Comment 5•1 year ago
|
||
Marking leave-open so we can use this bug to track one more forthcoming patch which will implement UIA_StyleIdAttributeId (heading, block quote, and so on).
Comment 6•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 7•1 year ago
|
||
This revision implements supportable styles covered by
UIA_StyleIdAttributeId. Namely, this includes the heading levels,
quotes, and emphasis. These are implemented with Accessible role checks.
To get the levels, this revision makes GetLevel a public function. It
also adds constant definitions for MinGW builds. Finally, this revision
adds tests to the existing GetAttributeValue tests.
| Assignee | ||
Updated•1 year ago
|
Description
•