Visitar URL original
USWDS: File Input: Remove aria disabled file input. Resolves #5144 by mahoneycm · Pull Request #5146 · uswds/uswds · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove aria-disabled from parent file input class
  • Loading branch information
mahoneycm committed Feb 13, 2023
commit 59acf26167faa9810d7a2f3e1320ec009ccf7f81
2 changes: 0 additions & 2 deletions packages/usa-file-input/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const disable = (el) => {

inputEl.disabled = true;
dropZoneEl.classList.add(DISABLED_CLASS);
dropZoneEl.setAttribute("aria-disabled", "true");
};

/**
Expand All @@ -83,7 +82,6 @@ const enable = (el) => {

inputEl.disabled = false;
dropZoneEl.classList.remove(DISABLED_CLASS);
dropZoneEl.removeAttribute("aria-disabled");
};

/**
Expand Down