This Week I Learned
aria-live="polite"- Any region which receives updates that are important for the user to receive, but not so rapid as to be annoying, should receive this attribute. The screen reader will speak changes whenever the user is idle.
You can call
.filter(v => v)on arrays and it will filter out null values (or anything that returns non truthy, so
""would get filtered out too). For example:
['foo', null, 'bar'].filter(v => v)will become
Speech jammers are a thing and some people really struggle:
You can try it yourself here: https://www.clicktorelease.com/code/speech-jammer/