Skip to content

No information about "cancel" event on HTMLInputElement page #31014

@Cipscis

Description

@Cipscis

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement

What specific section or headline is this issue about?

Events

What information was incorrect, unhelpful, or incomplete?

The "cancel" event for the HTMLInputElement, which is fired when a picker for an input element with type "file" is cancelled without the value being changed, is not mentioned anywhere on the HTMLInputElement page.

What did you expect to see?

The HTMLInputElement page should mention the "cancel" event, and link to its documentation.

Do you have any supporting links, references, or citations?

The "cancel" event for <input type="file"> elements was added to the HTML standard in July 2021: whatwg/html#6735

HTML spec - cancel event
HTML spec - Common input element APIs

This feature has been supported by all modern browsers since May 2023. According to CanIUse, it currently has 83.62% global browser support. Support for this feature is already included in mdn/browser-compat-data and displays on the HTMLInputElement page.

Do you have anything more you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsgoal: accuracy(Experimental label) Issues about inaccurate/incorrect content.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions