Closed NicolasBuquet closed 11 months ago
Hi @NicolasBuquet thanks for this PR. Its exciting to see someone working on accessibility in old Element.
I'm afraid we can't accept the PR in its current state however, for a quite a few reasons. To implement this properly will be a lot of work, especially on the timeline. The initial things that jump out at me are listed below:
subheadline
as the base font to fix this:develop |
PR |
---|---|
3
to react to it does this:https://github.com/vector-im/element-ios/assets/6060466/3195695c-02c9-4448-8d18-9f026ff1d396
Whilst it looks like the UI was awkward and it succeeded, it did not:
develop |
---|
develop |
PR |
---|---|
I'm very much in favour for making our apps more accessible (and we're putting a lot of effort into Element X to check for things like this). However, if we're going to accept changes to support Dynamic Type in this app, we would likely be looking for the overwhelming majority of the screen to be updated to support it, and not just the tabs on the home screen and the message text in the timeline. It would need to be done screen by screen (with a branch based cleanly off develop), and I even then I'm not sure that we as a team have the time to dedicate to reviewing this given Element iOS is not meant to be receiving anything more than P1 bugfixes.
I am closing this PR because getting dynamic font size on element-ios will be a huge work for an app that is in a maintenance mode. @pixlwave showed some failure cases but there are probably more. Element X iOS already support it.
Thank you guys to take time to review this.
I don't see the exposed behavior of wrong hitTest to react to a particular message on my real device.
I understand that Element iOS is in maintenance mode and won't receive this kind of ambitious update.
I will see if I can update the fix to not destroy attributed string when changing font size. But that's only on my side now.
🙏
I don't see the exposed behavior of wrong hitTest to react to a particular message on my real device.
From your screenshots it looks like you have bubbles enabled. The timeline behaves very differently in this case, I would suggest testing any changes like this with them disabled as the plain mode merges multiple messages into a single text view.
So I progress on my side :
But I will stop here for this.
Pull Request Checklist