MCPcopy Create free account
hub / github.com/InverseUI/InverseUI-Recorder / hasExplicitAccessibleName

Function hasExplicitAccessibleName

util/playwright_selector.js:128–130  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

126// ============ HELPER FUNCTIONS ============
127
128function hasExplicitAccessibleName(e) {
129 return e.hasAttribute('aria-label') || e.hasAttribute('aria-labelledby');
130}
131
132/**
133 * Get explicit ARIA role from element (from roleUtils.ts line 270-274)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected