hackforla / food-oasis

Repository for the current redevelopment of the Food Oasis Los Angeles website
https://foodoasis.la
GNU General Public License v2.0
73 stars 51 forks source link

Review app for low data, lower-spec device users #928

Closed fancyham closed 2 years ago

fancyham commented 3 years ago

Does app work with challenging data situations and with our target user's minimum specs?

We need to check on this and confirm our web app is fast, stable, and uses as little data as possible.

We should do this periodically and when we roll out major updates that our app works for our users who may have limited data.

Discussion:

Our target users may be on spotty wifi or have cellular data plan limits. Plus reducing page load sizes makes the app more responsive.

By optimizing for lower-end devices and data plans, we make the app better for everyone.

How to test:

Nice to have:

Optional:

For throttling, see: https://blog.bam.tech/developer-news/simulate-poor-network-test-mobile-apps-device and https://www.google.com/search?q=throttle+bandwidth+simulate+phone+performance

fancyham commented 3 years ago

If anyone is curious about California lifeline phones, check out this link. The comments are great - gruff but helpful. Also gives you a sense of the issues people have with their phones.

TL;DR: One per household no matter how many in household, most have limited data with many in 3-5GB range, all are smartphones now.

https://www.freegovernmentcellphones.net/states/california-government-cell-phone-providers

thanks for the link, @wanderingspoon

fancyham commented 2 years ago

Use the responsive simulation mode (in Safari: Developer > Enter Responsive Design Mode) to simulate different devices and use the web inspector > Network to get bandwidth used and time elapsed.

Create a spreadsheet:

Title: Put the date, your name, what browser and computer you're using, your location

Columns: Landing page with URL, first map, organization detail, About Us, FAQ, etc. Rows: Device and screens size (use developer responsive mode) or at Food Oasis screen-size breakpoints. Please look up accessibility guidelines if you can. Cells: Amount of data needed to load the entire page, and optionally, the time it took to load (use the developer console)

Be sure to clear the cache for each new device/screen size.

2021-11-03, Mac Safari 15.1, Hawaii

Device Landing page with URL list only first map organization detail org detail via deep link About Us FAQ etc.
Mobile phone (various sizes) .76MB 1.8s 1.41MB 2.69s
Tablet Portrait (iPad) : 768 x 1024 n/a
Tablet Landscape (iPad) : 1024 x 768 n/a
Laptop: 1366 x 768 n/a
High-res laptop or desktop: 1920 x 1080 n/a

We'll look at this spreadsheet to make sure the website loads quickly and with minimal data use (because folks have limited data plans)

staceyrebekahscott commented 2 years ago

Check in with Slack channels: UI-UX, Data-Science, Developers Ask about HfLA guides or frameworks for testing And check the Community of Practice kanbans for issues.

fancyham commented 2 years ago

Just realized that this issue is really only about data transferred — instructions for how to do it are above, but for Accessibility, please see issue #1355

This very much is part of DEI (diversity, equity and inclusion) but from a technical angle.

fancyham commented 2 years ago

Please try to add screenshots of the list of files being transferred so that we can identify which items are using the most data and to see if we're still needing those items. (i.e. hotjar.com) Screen Shot 2022-10-01 at 2 16 22 PM

jnaito777 commented 2 years ago

List of file names transferred. The first two screenshots show the full list of files being transferred. The last screen shot is sorted by transfer size.

Screen Shot 2022-10-03 at 4 02 27 PM Screen Shot 2022-10-03 at 4 02 41 PM Screen Shot 2022-10-03 at 4 51 41 PM
jnaito777 commented 2 years ago

Attached the results and created a guide to be able to recreate this simulation in the future. This accessibility bench mark covered various devices (mobile, tablet, laptop) with various sizes via responsive mode, and measured resource size, transfer size, and load time. Also performed a simulation benchmark on how long (theoretically) it takes for a user to navigate the website in various network connections.

Through my research, users who have poor network connections have significantly longer load times.

UX Accessibility Benchmarking on Safari Guide.pdf (Google Doc)

UX Accessibility Benchmarking.pdf (Google Doc)

Screenshot 2022-10-25 at 9 56 40 PM

Screenshot 2022-10-25 at 9 49 53 PM

Google drive links: https://drive.google.com/drive/u/0/folders/1Rm_-ozUl_ZOmeDy9sG51w1SzbiwYr2R5

fancyham commented 2 years ago

One thing I noticed here are that we have a hotjar.com script (it records clicks and movements) but I don’t think we have access to that account any more. That would be something to remove.

jnaito777 commented 2 years ago

In summary, I utilized Safari's responsive mode and web inspector to simulate low data settings for various devices and screen sizes to determine whether or not FOLA is accessible to our food seekers. From this UX benchmarking, we learned the following:

Recommendations:

fancyham commented 2 years ago

@jnaito777, I added some screenshots of your results for easy reference above

Created issues: