CSS anchoring is regular CSS
The message
MARKLESS_CSS_ANCHOR_ATTRIBUTE: Cannot write <attributeName> as an attribute. CSS anchoring is regular CSS - declare anchor-name/position-anchor in a <style> block or your stylesheet.
An element takes the attributes HTML defines. anchor-name and position-anchor are CSS properties with no HTML attribute of the same name, so nothing on the page would read them.
Declare the anchor in a <style> block in this file, or in your stylesheet, and select the element the way you select it for any other style.
https://markless.dev/errors/MARKLESS_CSS_ANCHOR_ATTRIBUTEWords in angle brackets change from case to case.
Why
An element takes the attributes HTML defines. anchor-name and position-anchor are CSS properties with no HTML attribute of the same name, so nothing on the page would read them.
Fix
Declare the anchor in a <style> block in this file, or in your stylesheet, and select the element the way you select it for any other style.