Repository navigation
1.3.0
Fixed, where the refusal was in the wrong place
A refused publish is now drawn in the gate's panel, not under the title.
Statamic renders a validation error next to the blueprint field it is keyed to
and drops it silently otherwise, so the refusal had to name a field, and "this
entry links to 1 document that people using a screen reader cannot read" then
appeared under the Title input and read as a fault in the title. Reported from a
live site.
A11y Gate 0.9 lets a panel block name a refusalKey and draws whatever it finds
under it, so the refusal now appears in the block that already lists the
documents on that page. It falls back to keying a field in two cases, because a
refusal nobody sees is worse than one in the wrong place: an A11y Gate older
than 0.9, asked through PanelExtensions::supports(), and a blueprint without
the panel field on it.
Needs A11y Gate 0.9 or newer for the new placement. Nothing else changes, and
the gate is optional as before. Upgrading re-checks nothing.