Comments (7)
(Option 3) Changing date input into text is most easy option to apply and gives full control on in and output to the user. Only (minor) disadvantage is losing date picking functionality for supporting browsers.
I prefer this for reasons that the user will have full control over input and output.
Option 2 is still forcing a user into a date format and requires me to add some code.
I will implement option 3
from wai-statements.
/me was surprised to find when she cleared the date that it says mm/dd/yyyy instead of dd/mm/yyyy
from wai-statements.
Solution options:
- leave as is
- Apply a format on the date output in the generated statement
- change date input to text input so a user can decide what the date output will be
Explanation
Date input type is a bit of a pain to get a behaviour that is the same in every browser. Currently if a browser does support the date typed input, the browser implements its own kind of date picker which provides a nice user interface to pick a date. If not it defaults to a text input without this nice user interface.
e.g. 01/02/2018 -> 1 February 2018
What the format is for a date input is system / browser specific. Enabling a different date input format is possible, but would require a lot of code effort. Instead it is easier to apply this readable date format as output in the generated statement by either change the input type to text or apply a pretty format on the date output.
/me was surprised to find when she cleared the date that it says mm/dd/yyyy instead of dd/mm/yyyy
I think this is because of local / date settings on your system / browser used.
from wai-statements.
Rationale: A lot of people don't even realize that 01/02/yyyy is different dates in different parts of the world.
If the date was very important, then I would strongly support doing more to make the outputted date clear -- that is, write out the month.
However, I think the date is not super important for most accessibility statements. Therefore, I'd be OK leaving it if others thinks that is best.
Apply a format on the date output in the generated statement
I mildly prefer this option. (Users can still change it if they want.)
change date input to text input so a user can decide what the date output will be
I think this would take away the advantages of having a date-picker, and still many people filling it in wouldn't know to write out the month... unless we added explanation of why to do it - which seems a bit much.
from wai-statements.
@rvantonisse agree that changing the date input would be too difficult (would need to create our own date picker, which is maybe not what we want to do in this version). But how about changing the format of the generated date? I think this should be fairly easy, no? (Option 2)
from wai-statements.
[My comment is not blocking publication.]
I wonder if we should not just have a text field and output it as verbatim. That way, people can also write December 2018 if they want without a day date.
from wai-statements.
Change made as described above.
from wai-statements.
Related Issues (20)
- Jonson
- Add remove functionality where fields are added dynamically (add-line)
- [Question]: Is it possible to use a Select input HOT 1
- [Question]: How to show new form input based on pre-requisite input? HOT 1
- Make contribution and customization easy HOT 3
- _external data does not seem to get picked up by Jekyll HOT 8
- [Question] Standalone version of A11y's Statement? HOT 4
- "Redirect" unknown hashes to a "page not found" like view for feedback HOT 5
- [minor] tweak date information wording HOT 2
- []
- The statement generator does not include boilerplate which may be required in EU member states HOT 4
- allow markdown/HTML HOT 1
- allow users to edit introduction text
- allow users to edit conformance status text
- Remove incorrect example "or real-time captioning" HOT 1
- nl translation not showing up HOT 2
- Generated `mailto:` URI issue HOT 1
- valid HTML HOT 1
- Mr HOT 2
- Accessibility Statement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wai-statements.