W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-selectors] Can you standardise a pseudo-element selector for file inputs? (#5049)

From: Roy-Orbison via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 May 2020 04:44:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-633804687-1590468263-sysbot+gh@w3.org>
Were I writing standards docs, I would use the word "select" over "choose", because that's what countless other docs already do.

Referring to it as an "upload control" is not my nomencalture, it's [the spec](https://www.w3.org/TR/html52/sec-forms.html#file-upload-state-typefile) and is independent from associated script.

>I'm strongly opposed to calling any part of a file input an "upload" control, this would be a disservice to authors.

…who are already referring to it as an upload control and will continue to in the future, not least because of `::-webkit-file-upload-button`. I agree that selection better represents the initial action triggered by the button, but upload better represents the consequence of using it.

I don't think "upload" is the only answer, more that "choose" should not be. I've only bothered writing anything about this because it seemed that existing conventions were being ignored.

I'll stop bike-shedding now.

GitHub Notification of comment by Roy-Orbison
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5049#issuecomment-633804687 using your GitHub account
Received on Tuesday, 26 May 2020 04:44:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC