Give links and buttons accessible names
142 of 144 assessed homepage links and buttons have a nonempty accessible name.
Read prompt
My website chromegoldmine.com scored 95/100 on Good for Bots (Excellent). Good for Bots measures one thing: whether a language model can read a site and cite it. I need you to: give links and buttons names recoverable from their HTML. The check it only partly passes is "Links and buttons have accessible names", with 2.08 points of it still on the table. What the scanner saw: 142 of 144 assessed homepage links and buttons have a nonempty accessible name. An unnamed link or icon button gives a reader little evidence of its purpose. The W3C Accessible Name Recommendation defines how text, referenced labels and native alternatives combine into a control's name; HTML-AAM describes native HTML mappings and remains a draft. Each link or button must: - have a nonempty name describing its actual destination or action; - preserve visible text when that already provides the name; - resolve any `aria-labelledby` references to the intended label elements; - give informative images inside controls useful alternatives; ```html <a href="/docs">Documentation</a> <button type="button" aria-label="Open search"> <svg aria-hidden="true" viewBox="0 0 24 24"><!-- existing icon --></svg> </button> <span id="download-label">Download report</span> <button type="button" aria-labelledby="download-label"></button> ``` Two things to get right, because they are the common failure modes. Text already names ordinary links and buttons, so adding ARIA everywhere is unnecessary. An `aria-describedby` reference supplies a description, not the control's name, and an unresolved `aria-labelledby` cannot supply the missing label. This check computes name presence from the collected homepage markup. It does not judge whether a name is accurate, load stylesheets, evaluate CSS-generated text, or execute widget scripts. Verify the resulting name in a browser as well, especially where CSS or JavaScript changes a control's visibility or contents. The whole report, as markdown, is at https://goodforbots.com/r/chromegoldmine.com.md?scan=cmuseleat000101o0f6mxxb1d. Read it first: this prompt covers one finding, and the report has everything the scan saw. When you are done, summarise what you changed and how to check it against a running instance. Do not try to run the Good for Bots scan yourself: it only sees what is already deployed, it is rate-limited, and re-running it is the site owner's call once the change ships.