Skip to content

Make media upload field mandatory & enhance aria-labels for accessibility#2157

Open
SiddhiK13 wants to merge 1 commit intortCamp:developfrom
SiddhiK13:feature/mandatory-upload-field
Open

Make media upload field mandatory & enhance aria-labels for accessibility#2157
SiddhiK13 wants to merge 1 commit intortCamp:developfrom
SiddhiK13:feature/mandatory-upload-field

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