What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-01-31 21:37:52
difference between :after and ::after
Pseudo-elements were denoted with a single colon in CSS2, but have been changed in CSS3 "in order to establish a discrimination between pseudo-classes and pseudo-elements". For compatibility reasons a single colon is still allowed for the pseudo... Add solution -
Javascript 2021-10-23 06:58:10
uncaught typeerror: failed to execute 'createobjecturl' on 'url': overload resolution failed.
The URL.createObjectURL() method has been removed from the MediaStream interface. This method has been deprecated in 2013 and superseded by assigning streams to HTMLMediaElement.srcObject. The old method was removed because it is less safe, requiring ... Add solution -
-
Other 2021-09-06 15:25:02
required vs aria-required
You will be happy to know that both NVDA and JAWS announce the field as required. In short, you do not need aria-required any longer. Just use required. You can read a bit more about the ARIA attributes you can dump in this article by Steve Faulkner (one... Add solution