toaq / TwE

Toaq with Ease: Learn Toaq the natural way
https://toaq.github.io/TwE/
8 stars 6 forks source link

Improve compatibility with relevant browsers and devices #1

Open solpahi opened 4 years ago

uakci commented 4 years ago

I'm all for this.

I can add mobile responsiveness right away; old browser support I could try to work on as well.

-------- Original Message -------- On 20 Nov 2019 08:25, Hoemāı wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lynn commented 4 years ago

on my Android phone running Chrome, I see:

Screenshot_20191125-152621_Chrome

uakci commented 4 years ago

Just 2¢ more from me: It might be worth it to collapse the table into sequences of rows for smaller screens.

Please leave the c11y work to me — it's my due. :P

solpahi commented 4 years ago

This is what it looks like on iPhone SE Safari 12.4.1:

grafik

I don't yet understand why it only happens in some places. Lesson dialogues and translation exercises don't seem to have smaller tone letters, except for the last one in each lesson, as well as every Fill in the blanks exercise.

grafik

uakci commented 4 years ago

@solpahi Safari (WebKit) is known for its willy-nilly rescaling, especially in landscape.

Relevant thread elsewhere: https://www.sitepoint.com/community/t/css-fails-when-changing-device-orientation/103223/6.

uakci commented 4 years ago

Note: I will have to scale the whole layout of the website by 20% in order for it to be possible at all to make the content fit on small screens such as my or your phones.

Once that's done, I'll ask you to resubmit your screenshots.

solpahi commented 4 years ago

Isn't it possible to simply apply two different renderings depending on the device? It doesn't seem right to sacrifice the "normal" design just to accomodate mobile users. I would prefer it if the original sizes were retained. Even the reduction to 700px width doesn't sit well with me, and scaling images beyond their own resolution like on the landing page is not good either. I know mobile compatibility is not easy to achieve, but I'd rather wait for a method that doesn't sacrifice the original design.

uakci commented 4 years ago

Sure enough we could do this… but it'd require:

This would be a lot of unnecessary work. Besides, 20px is already a lot; 16px is, I dare say, easier to read for longer passages of text.

Alternatively, we could ‘relativize’ the whole design so that the font size is expressed in relation to vmin; this would result in extremely consistent scaling across all platforms that support it.

@solpahi

uakci commented 4 years ago

Screenshot_2019-11-28-12-26-03 For reference, here's what the page renders like on my mobile device. The text is extremely legible — so much so that the overfrequent line wraps make it hard to read again.

solpahi commented 4 years ago

Alternatively, we could ‘relativize’ the whole design so that the font size is expressed in relation to vmin; this would result in extremely consistent scaling across all platforms that support it.

That might work. I don't know enough about it to judge whether there are better methods. If it produces the desired results, that's all that matters.

For reference, here's what the page renders like on my mobile device. The text is extremely legible — so much so that the overfrequent line wraps make it hard to read again.

Yes, it doesn't make full use of the limited space available on a mobile screen, creating too many wraps.

uakci commented 4 years ago

I'll try relativizing, then.

solpahi commented 4 years ago

Discord user Xeizzeth noticed a problem with the audio elements in Lesson 0. They don't stay within the screen width.

Screenshot: grafik