Skip to content

Commit

Permalink
remove arias
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrunel committed Aug 28, 2024
1 parent 369142a commit 4483cc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lavague-core/lavague/core/base_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,7 @@ def js_wrap_function_call(fn: str):
return (function() {
function getInteractions(e) {
const tag = e.tagName.toLowerCase();
if (!e.checkVisibility() || e.hasAttribute('disabled') || e.hasAttribute('readonly') || e.getAttribute('aria-hidden') === 'true'
|| e.getAttribute('aria-disabled') === 'true' || (tag === 'input' && e.getAttribute('type') === 'hidden')) {
if (!e.checkVisibility() || e.hasAttribute('disabled') || e.hasAttribute('readonly') || (tag === 'input' && e.getAttribute('type') === 'hidden')) {
return [];
}
const rect = e.getBoundingClientRect();
Expand Down

0 comments on commit 4483cc9

Please sign in to comment.