Closed infograf768 closed 2 years ago
@ranbuch
As I was not much aware about this repo, I may have incorrectly patched the minified js instead of the main.js
So the correction there would be line 26
fontFamily: 'Material Icons',
to
fontFamily: 'Material+Icons',
:)
Are you sure that it should be font-family: Material+Icons?
Yes. Try it for yourself. The +
is taken off in the resulting css.
Safari screen capture
I say again font-family should have a space in it. It is fontFaceSrc that should use the +
read the docs https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
Read https://github.com/joomla/joomla-cms/issues/36311#issuecomment-995641561 about the redundant font-family.
Safari is real picky. The + is necessary or the the redundant css font-family has to be deleted from the js.
@infograf768 many thanks for your effort. For some reason I can see the change only on the dist/accessibility.min.js but not on src/main.js
. Can you please add the +
sign there as well?
If not, I can do it myself. Anyways, nice catch. Thanks again.
Hi guys - maybe offtopic here: but can somebody explain me why the openicon is an <i>
instead of a button?
@ranbuch
main.js
also modified now.
Thanks @infograf768 merged.
@angieradtke Yes, we should use button
instead if li
for better accessibility. Let's keep this issue open for now so I won't forget and implement it when I'll find the time to do so.
Thanks all!
https://github.com/ranbuch/accessibility/issues/24
Missing + in the js