Skip to content

Conversation

@SiddhiK13
Copy link

Changes made:

  • Added required attribute to media upload <input type="file"> in templates/upload/uploader.php to prevent empty uploads.
  • Improved aria-label attributes for better accessibility and screen reader support.

Testing:

  • Verified that the upload form cannot be submitted without selecting a file.
  • Checked that screen readers announce the file upload field clearly with the updated aria-label.

Closes: #2154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to restrict media uploads for specific user roles, except profile and cover images?

1 participant