Skip to content

html.elements.input.accept - Safari does not support audio/* #28629

@D3SOX

Description

@D3SOX

What type of issue is this?

Browser bug (a bug with a feature that may impact site compatibility)

What information was incorrect, unhelpful, or incomplete?

It looks like Safari does not have full support for this attribute.
When the accept parameter is set to audio/* it does not allow picking any audio file (or any other file whatsoever)
This is also document in this old StackOverflow Post and seem to still hold truth to this day.

What browsers does this problem apply to, if applicable?

Safari (iOS/iPadOS), macOS is not affected

What did you expect to see?

A heads-up warning text that mobile Safari doesn't support this value

Did you test this? If so, how?

I tested it on my iPad (iOS 17.0) using Safari. I can't guarantee that this was fixed in later Safari versions. I wanted to test this further using BrowserStack but their limit with the free version is just too short for me to validate

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

I had to add extensions manually to show up in my project D3SOX/browser-audio-tools@ac33bbf

Do you have anything more you want to share?

Image

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept

MDN metadata

MDN page report details
  • Query: html.elements.input.accept
  • Report started: 2025-12-10T14:20:49.119Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    data:htmlCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTMLgood first issueGood issues for getting started with this project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions