Implement `headingoffset` attribute
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: keithamus, Assigned: keithamus)
References
(Depends on 1 open bug, Blocks 2 open bugs, )
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
This is a tracking issue for implementing the proposed headingoffset attribute as discussed in https://github.com/whatwg/html/issues/5033. There is a draft spec: https://github.com/whatwg/html/pull/11086
Comment 1•1 year ago
|
||
Just a heads up that this will require accessibility engine changes at multiple layers. The most obvious place is here. However, because this method is in the Accessible base class and must thus work for both local and remote Accessibles, some mechanism will need to be added to get the offset, and that will need to be pushed from content to parent and included in the RemoteAccessible cache.
| Assignee | ||
Comment 2•1 year ago
|
||
(In reply to James Teh [:Jamie] from comment #1)
Just a heads up that this will require accessibility engine changes at multiple layers. The most obvious place is here. However, because this method is in the Accessible base class and must thus work for both local and remote Accessibles, some mechanism will need to be added to get the offset, and that will need to be pushed from content to parent and included in the RemoteAccessible cache.
Thanks for this! For RemoteAccessible I was looking to put the level as a CacheKey of mCachedFields, but I am happy to take suggestions for alternative/better ways to handle this.
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•6 months ago
|
Updated•6 months ago
|
Comment 4•2 months ago
|
||
Reverted this because it was causing build bustages in RemoteAccessible.cpp.
- Revert link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/accessible/ipc/RemoteAccessible.cpp:X:7: error: use of undeclared identifier 'RequestDomainsIfInactive'
| Assignee | ||
Comment 5•2 months ago
|
||
Ah looks like https://phabricator.services.mozilla.com/D299959 (https://bugzilla.mozilla.org/show_bug.cgi?id=2021820) slipped by. Rebase needed.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60054 for changes under testing/web-platform/tests
Comment 7•2 months ago
|
||
Reverted this because it was causing non-unified build bustages in nsINode.h.
- Revert link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/base/nsINode.h:1231:33: error: inline function 'nsINode::GetFlattenedTreeParentElement' is not defined [-Werror,-Wundefined-inline]
| Assignee | ||
Updated•2 months ago
|
Comment 10•2 months ago
|
||
Comment 11•2 months ago
|
||
| bugherder | ||
Comment 12•2 months ago
|
||
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
Updated•2 months ago
|
Updated•1 month ago
|
Description
•