👉 HTML element and attribute mappings to #accessibility APIs, exposed in web browsers, are defined in a @w3c specification: https://www.w3.org/TR/html-aam-1.0/
HTML Accessibility API Mappings 1.0
HTML Accessibility API Mappings (HTML-AAM) defines how user agents map HTML [HTML] elements and attributes to platform accessibility application programming interfaces (APIs). It leverages and extends the Core Accessibility API Mappings 1.2 and the Accessible Name and Description Computation 1.2 for use with the HTML host language. Documenting these mappings promotes interoperable exposure of roles, states, properties, and events implemented by accessibility APIs and helps to ensure that this information appears in a manner consistent with author intent.