While accessibility standards are written for humans, many of the design principles are also helpful for agents that want to understand your website. Agents review the accessibility tree to identify interactive elements.
While some humans use visual cues to understand a buttons purpose, missing labels can block users with visual disabilities and agents from completing a task. The Lighthouse audit can help you verify that your page has a complete accessibility tree.
For more information on how to improve your site's accessibility, see the Accessibility audits documentation.