Open pkra opened 1 year ago
Trying to read up on things. It looks like aria.js // ariaAttributeReferences()
intentionally runs after respec.
On the one hand, e.g., the ARIA spec has ariaAttributeReferences
in the respecConfig's postProcess array:
If I move it to the preProcess array, we get the correct headings.
But I don't know if post-processing was intentional. git says @jnurthen might remember -- https://github.com/w3c/aria/commit/613eacf047859b4fb55386cb4ad621cde920b3f2.
Then there's also
which git blame also says @jnurthen might know - do you remember if this was intentional?
As noted in today's meeting, we should try to refactor the code and move the heading-generating code so that it can be done in pre-processing.
It seems aria.js is running too late, causing an issue with heading levels, cf. https://github.com/w3c/respec/issues/4436.