Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 8e06d34

Browse files
author
Lily2point0
committed
final tweaks
1 parent 8e989c6 commit 8e06d34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_posts/2018-03-23-crosswords.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@ <h3>Print</h3>
6363
<h2>Technical challenges</h2>
6464
<h3>The complexity of new features</h3>
6565
<p>One of the biggest challenges with the new feature was to synchronise inputs across the grid and the list view, and figuring out which was each letter's rightful place. This was achieved by relying heavily on <code>data-</code> attributes.</p>
66+
<p>Similarly, with our focus on accessibility, ensuring content that was to be read out by screen readers was up-to-date proved arduous.</p>
67+
68+
<h3>Working across devices</h3>
69+
<p>Guaranteeing the crossword would work across devices, and particularly on mobile phones also came with its fair share of questions and obstacles.</p>
70+
<p>Firstly, we knew that the crossword grid could either be 15x15 or 17x17 cells. How would we render this on a very small screen (below 400px in width)? The solution was to make the most of our newly implemented list view, and add the selected clue (and answer inputs) above the grid; which means interaction with the grid on mobile isn't necessary anymore, but it is there, visually.</p>
6671

6772
<figure>
6873
<img src="/assets/uploads/2018/03/mobile_views.png" alt="" />
6974
<figcaption>The grid and list views on mobile</figcaption>
7075
</figure>
7176

72-
<p>Similarly, with our focus on accessibility, ensuring content that was to be read out by screen readers was up-to-date proved arduous.</p>
73-
74-
<h3>Working across devices</h3>
75-
<p>Guaranteeing the crossword would work across devices, and particularly on mobile phones also came with its fair share of questions and obstacles.</p>
76-
<p>Firstly, we knew that the crossword grid could either be 15x15 or 17x17 cells. How would we render this on a very small screen (below 400px in width)? The solution was to make the most of our newly implemented list view, and add the selected clue (and answer inputs) above the grid; which means interaction with the grid on mobile isn't necessary anymore, but it is there, visually.</p>
7777
<p>An <a href="https://registry.origami.ft.com/components/[email protected]" target="_blank">earlier version</a> of the experiment envisaged having a desktop-size grid scrolling horizontally.</p>
7878
<p>Secondly, we found that various mobile platforms handled keyboard input and focus differently. For example, on Android devices, trying to override input content would result in printing `Å`, no matter which letter of the keyboard was selected.</p>
7979
<p>Finally, we implemented a way to save progress for each interactive crossword. However, on mobile devices, this will be limited by the amount of local storage. Since we are not authenticating users, there is no way to save this across devices and store the answers against their account.</p>

0 commit comments

Comments
 (0)