You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @builtbylane :-)
Don't worry — your question is perfectly valid! There's quite a few placeholder polyfills out there and they all kinda do the same thing.
The main differences this implementation has are:
the placeholders are accessible to Screenreader users {visibleToScreenreaders : true}
the placeholders can behave like in i.e. Chrome where they only disappear when the user starts typing rather than on focus (which is also a neat accessibility/usability feature) {hideOnFocus : false}
the way it nicely integrates with modernizr/yepnope so it doesn't has to be loaded at all when the Browser has native support
How does this differ from https://github.com/mathiasbynens/jquery-placeholder?
I only ask because jquery-placeholder is conveniently available on cdnjs.com and so I am about to use that one.
Sorry if this is an obnoxious question, it's not meant to be.
Thanks
The text was updated successfully, but these errors were encountered: