Error codesAsync

aria-busy is set where Markless already sets it

MARKLESS_ASYNC_ARIA_BUSY_MANAGEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_ASYNC_ARIA_BUSY_MANAGED: aria-busy on this element is managed by the async boundary; dim stale content with a class or a data- attribute instead.
This element reads an async value inside @try, so a refresh sets aria-busy="true" on it while the fetch runs and removes it when the fetch settles. That replaces whatever the binding wrote, so the authored value never reaches assistive tech.
Remove aria-busy and dim the stale content with a class or a data- attribute, for example data-stale={results.query !== query}.
https://markless.dev/errors/MARKLESS_ASYNC_ARIA_BUSY_MANAGED

Why

Markless sets aria-busy itself in two places. An element inside a @try that shows an async value gets aria-busy="true" while that value loads again. A form gets aria-busy="true" while it is sending: one whose submit handler returns a promise, and a plain form that posts to your site, which Markless sends without leaving the page. Each is removed when the work ends, whether it worked or failed. Your value would be overwritten, so screen readers would never hear what you wrote.

Fix

Remove aria-busy and leave it to Markless. To style the busy state, select on it, for example form[aria-busy="true"]. For a state of your own, such as old results while new ones load or a form busy for another reason, use a class or a data- attribute and style that.

<ul data-stale={results.query !== query}>	@for (const item of results.items; key item.id) {		<li>{item.name}</li>	}</ul>
Where Markless raises it

All error codes