Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a ‘Skip to Content’ link #2746

Closed
Angamanga opened this issue Apr 16, 2018 · 40 comments · Fixed by ushahidi/platform-client#1601 or ushahidi/platform-pattern-library#260
Closed
Assignees
Labels
Codebase: Client Indicates issue work will be in client Theme: accessibility
Milestone

Comments

@Angamanga
Copy link
Contributor

Angamanga commented Apr 16, 2018

Overview

Screen readers announce all of the links on the page to the user, in order. To help navigation, provide a way for them to bypass parts of each page, for example such as long navigation links in mode-bar, filter-bar in the toolbar and each map-icon.

Requirements

Acceptance criteria

  • You should be able to use tab to get to the 'skip to content' as the second or third 'tab' (as in the keyboard button tab) the first should be content/title that orientates the non-sighted user as to what is on the whole site. In our case I would suggest it go:

1 - Deployment name
2 - Deployment description
3 - Skip to content (we need to define what we consider 'content' here I would suggest that we define content as 'posts' an go right to the pins/posts)

Aha! Link: https://ushahiditeam.aha.io/features/PROD-372

@rowasc
Copy link
Contributor

rowasc commented Jun 13, 2018

@Angamanga @sethburtonhall is this in the correct pipeline ? (Ready for Dev)

@Angamanga
Copy link
Contributor Author

@rowasc Moving to ready for spec

@Erioldoesdesign
Copy link

@Angamanga Does this require any design work? I'm not sure it does but worth checking!

@willdoran
Copy link
Contributor

@sethburtonhall @Angamanga I'm stuck on the acceptance criteria section, how do we test this work?

@Erioldoesdesign
Copy link

Erioldoesdesign commented Jun 26, 2018

@willdoran (not sure this is helpful but) you should be able to use tab to get to the 'skip to content' as the second or third 'tab' (as in the keyboard button tab) the first should be content/title that orientates the non-sighted user as to what is on the whole site. In our case I would suggest it go:

1 - Deployment name
2 - Deployment description
3 - Skip to content (we need to define what we consider 'content' here I would suggest that we define content as 'posts' an go right to the pins/posts)

Keen to get other folks input though @justinscherer

Also I can ask some of the inclusivity community around these parts 👍

@willdoran
Copy link
Contributor

@Erioldoesdesign Thanks that's very helpful I'll include that as the acceptance criteria and request reviews from @justinscherer @Angamanga and yourself.

@rjmackay
Copy link
Contributor

@Erioldoesdesign @Angamanga should the skip to content link be visible to all users? or similar to the github approach, only visible if you tab to it?

@Angamanga
Copy link
Contributor Author

@willdoran @Erioldoesdesign @rjmackay When I first wrote this issue, I was thinking about screen-readers only and hiding the skip-to-content link to everybody else. But it actually makes sense to keep it visible for all users since tabbing around everywhere is annoying. But that said, since we don't manage tabbing in the "old" ui right now, I think it makes more sense just keeping it for the screen-reader-users and hiding it for everyone else = no design needed. For the ui-refresh, we should include a skip-link for everybody.

Suggestion: We'll focus on screen readers and hide the link in this cycle and add I will add an issue for design in the ui-refresh-epic? We could also use something similar to this: http://paypal.github.io/skipto/

@willdoran
Copy link
Contributor

@Angamanga Sounds like a great approach, can you update the spec with corrections to what I made?

@Erioldoesdesign
Copy link

@rjmackay I don't think it's very useful in our case for all users. Visible only if tabbed would be great

@rowasc rowasc modified the milestones: Cycle 7, Cycle 8 Jul 31, 2018
@rowasc rowasc removed this from the Cycle 8 milestone Aug 21, 2018
@sethburtonhall sethburtonhall removed their assignment Sep 7, 2018
@Angamanga Angamanga removed the Community Task Issues that the Ushahidi OSS community is encouraged to contribute to label Oct 8, 2020
@onyeepeace
Copy link

I am currently trying to set up the dev-environment locally on my computer, I have gone through a lot of steps and I am at the point where I need to run 'vagrant up'. I did that but I am getting this error;
C:\Users\Peace\Desktop\platform>vagrant up
Check your Homestead.yaml file, the path to your private key does not exist.

I found possible solutions here https://stackoverflow.com/questions/44463987/homestead-installation. I am a little confused as to which one to use as I don't want to spoil what I have done previously. Please I need some help @Angamanga

@Angamanga
Copy link
Contributor Author

@onyeepeace Make sure you are in the platform-api folder before running vagrant up, its in this folder the Homestead.yaml file is.

@rowasc
Copy link
Contributor

rowasc commented Oct 9, 2020

hey @Angamanga who is assigned to this one? It's not clear and I'm worried maybe there's two folks working on it at the same time? @bimbolabuari I'm assuming you are working on this one no?

@bimbolabuari
Copy link

Hi @rowasc, Yes, I am working on it. Thanks for assigning it to me.

@bimbolabuari
Copy link

Hi @rowasc and @Angamanga, Please I need your help on where to implement the "skip to content" link, as it is not clear since the root page (http://localhost:8001/views/map) and other links I have access to doesn't seem to have main content

Thanks.

@rowasc
Copy link
Contributor

rowasc commented Oct 10, 2020

@bimbolabuari in the case of the map, it's also unclear to me how we define content. I assume it's the posts in the map. In the data view however, "skip to content" should "take" the user directly to listen/read the first post card on the left.
You can start with the data view, and we can all continue the discussion on this ticket on monday @bimbolabuari since I definitely need @Angamanga to help define it.

@rowasc rowasc modified the milestones: Parking Lot, Hacktoberfest Oct 10, 2020
@Angamanga
Copy link
Contributor Author

@rowasc @bimbolabuari Lets start with the data-view, that is a huge win and once we have decided how to handle the map we can add it to that view :).

@bimbolabuari
Copy link

@rowasc @Angamanga Thanks for the clarification, I will start with the data-view however there is no seed data for the post view, and am having an issue creating a new post so as to get the idea of skipping to the main content for the view. Please is there a way I can create a new post from the backend?
I am having this error on creating a new post:

FUNCTION ushahidi.GeomFromText does not exist [ INSERT INTO `post_point` (`value`, `form_attribute_id`, `post_id`, `created`) VALUES (GeomFromText('POINT(32.958984 -8.928487)'), 1, 12, 1602502299) ]

data-view-post-err

skip-to-content-err

@rowasc
Copy link
Contributor

rowasc commented Oct 13, 2020

hrm that's odd what kind of setup do you have ? I've never run into this before :/
Would probably help to check the logs (storage/logs/lumen.log) and see a stacktrace

@bimbolabuari
Copy link

bimbolabuari commented Oct 13, 2020

@rowasc I am using vagrant set up for backend.

Running cat ~/Code/platform-api/storage/logs/lumen.log on vagrant ssh to check the log and stacktrace gives the following.

[2020-10-13 21:36:53] lumen.ERROR: Ohanzee\Database\Exception: FUNCTION ushahidi.AsText does not exist [ SELECT `post_geometry`.*, `form_attributes`.`key`, `form_attributes`.`form_stage_id`, `form_attributes`.`response_private`, AsText(value) AS `value` FROM `post_geometry` JOIN `form_attributes` ON (`form_attribute_id` = `form_attributes`.`id`) WHERE `post_id` = '16' ] in /home/vagrant/Code/platform-api/vendor/ohanzee/database/src/Database/MySQLi.php:162
Stack trace:
#0 /home/vagrant/Code/platform-api/vendor/ohanzee/database/src/Database/Query.php(256): Ohanzee\Database\MySQLi->query(1, 'SELECT `post_ge...', false, Array)
#1 /home/vagrant/Code/platform-api/src/App/Repository/Post/ValueRepository.php(83): Ohanzee\Database\Query->execute(Object(Ohanzee\Database\MySQLi))
#2 /home/vagrant/Code/platform-api/src/App/Repository/Post/ValueProxy.php(40): Ushahidi\App\Repository\Post\ValueRepository->getAllForPost('16', Array, Array, false)
#3 /home/vagrant/Code/platform-api/src/App/Repository/Post/ValueFactory.php(57): Ushahidi\App\Repository\Post\ValueProxy->Ushahidi\App\Repository\Post\{closure}(Object(Ushahidi\App\Repository\Post\GeometryRepository))
#4 /home/vagrant/Code/platform-api/src/App/Repository/Post/ValueProxy.php(43): Ushahidi\App\Repository\Post\ValueFactory->each(Object(Closure), Array)
#5 /home/vagrant/Code/platform-api/src/App/Repository/PostRepository.php(462): Ushahidi\App\Repository\Post\ValueProxy->getAllForPost('16', Array, Array, false)
#6 /home/vagrant/Code/platform-api/src/App/Repository/PostRepository.php(288): Ushahidi\App\Repository\PostRepository->getPostValues('16', false, Array, Array)
#7 /home/vagrant/Code/platform-api/src/App/Repository/OhanzeeRepository.php(83): Ushahidi\App\Repository\PostRepository->getEntity(Array)
#8 /home/vagrant/Code/platform-api/src/Core/Usecase/CreateUsecase.php(127): Ushahidi\App\Repository\OhanzeeRepository->get(16)
#9 /home/vagrant/Code/platform-api/src/Core/Usecase/CreateUsecase.php(83): Ushahidi\Core\Usecase\CreateUsecase->getCreatedEntity(16)
#10 /home/vagrant/Code/platform-api/src/Core/Usecase/Post/VerifyParentLoaded.php(49): Ushahidi\Core\Usecase\CreateUsecase->interact()
#11 /home/vagrant/Code/platform-api/app/Http/Controllers/RESTController.php(247): Ushahidi\Core\Usecase\Post\CreatePost->interact()
#12 /home/vagrant/Code/platform-api/app/Http/Controllers/API/Posts/PostsController.php(75): Ushahidi\App\Http\Controllers\RESTController->executeUsecase(Object(Illuminate\Http\Request))
#13 [internal function]: Ushahidi\App\Http\Controllers\API\Posts\PostsController->store(Object(Illuminate\Http\Request))
#14 /home/vagrant/Code/platform-api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#15 /home/vagrant/Code/platform-api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#16 /home/vagrant/Code/platform-api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#17 /home/vagrant/Code/platform-api/vendor/illuminate/container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#18 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(373): Illuminate\Container\Container->call(Array, Array)
#19 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(339): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#20 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(313): Laravel\Lumen\Application->callLumenController(Object(Ushahidi\App\Http\Controllers\API\Posts\PostsController), 'store', Array)
#21 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(275): Laravel\Lumen\Application->callControllerAction(Array)
#22 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(255): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#23 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request))
#24 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#25 /home/vagrant/Code/platform-api/vendor/laravel/passport/src/Http/Middleware/CheckForAnyScope.php(27): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#26 /home/vagrant/Code/platform-api/app/Http/Middleware/CheckForAnyScope.php(26): Laravel\Passport\Http\Middleware\CheckForAnyScope->handle(Object(Illuminate\Http\Request), Object(Closure), 'posts')
#27 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\CheckForAnyScope->handle(Object(Illuminate\Http\Request), Object(Closure), 'posts')
#28 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#30 /home/vagrant/Code/platform-api/app/Http/Middleware/Authenticate.php(46): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#31 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure), 'api')
#32 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#33 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#34 /home/vagrant/Code/platform-api/app/Http/Middleware/CheckForInvalidJSON.php(61): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#35 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\CheckForInvalidJSON->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#38 /home/vagrant/Code/platform-api/app/Http/Middleware/CheckDemoExpiration.php(38): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#39 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\CheckDemoExpiration->handle(Object(Illuminate\Http\Request), Object(Closure))
#40 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#41 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#42 /home/vagrant/Code/platform-api/vendor/laravel/passport/src/Http/Middleware/CheckForAnyScope.php(27): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#43 /home/vagrant/Code/platform-api/app/Http/Middleware/CheckForAnyScope.php(26): Laravel\Passport\Http\Middleware\CheckForAnyScope->handle(Object(Illuminate\Http\Request), Object(Closure), 'posts')
#44 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\CheckForAnyScope->handle(Object(Illuminate\Http\Request), Object(Closure), 'posts')
#45 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#47 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(102): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#48 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(256): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#50 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(160): Laravel\Lumen\Application->handleFoundRoute(Array)
#51 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Illuminate\Http\Request))
#52 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#53 /home/vagrant/Code/platform-api/vendor/barryvdh/laravel-cors/src/HandlePreflight.php(29): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#54 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Barryvdh\Cors\HandlePreflight->handle(Object(Illuminate\Http\Request), Object(Closure))
#55 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#56 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#57 /home/vagrant/Code/platform-api/app/Http/Middleware/SetLocale.php(44): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#58 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\SetLocale->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#60 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#61 /home/vagrant/Code/platform-api/app/Http/Middleware/MaintenanceMode.php(32): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#62 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Http\Middleware\MaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#63 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#64 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#65 /home/vagrant/Code/platform-api/vendor/barryvdh/laravel-cors/src/HandleCors.php(58): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#66 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Barryvdh\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#67 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#68 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#69 /home/vagrant/Code/platform-api/src/App/Multisite/DetectSiteMiddleware.php(39): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#70 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(149): Ushahidi\App\Multisite\DetectSiteMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#71 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#72 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#73 /home/vagrant/Code/platform-api/vendor/illuminate/pipeline/Pipeline.php(102): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}(Object(Illuminate\Http\Request))
#74 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(410): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#75 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(166): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#76 /home/vagrant/Code/platform-api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(107): Laravel\Lumen\Application->dispatch(NULL)
#77 /home/vagrant/Code/platform-api/httpdocs/index.php(50): Laravel\Lumen\Application->run()
#78 {main} 

I removed the location field from the create post fields to check if the issue is with the location field only (ushahidi.GeomFromText) but am still similar error but with other field as follows:

FUNCTION ushahidi.AsText does not exist [ SELECT `post_geometry`.*, `form_attributes`.`key`, `form_attributes`.`form_stage_id`, `form_attributes`.`response_private`, AsText(value) AS `value` FROM `post_geometry` JOIN `form_attributes` ON (`form_attribute_id` = `form_attributes`.`id`) WHERE `post_id` = '16' ]

@bimbolabuari
Copy link

pinging @Angamanga @rowasc

@Angamanga
Copy link
Contributor Author

@rowasc Could you please check?

@rowasc
Copy link
Contributor

rowasc commented Oct 16, 2020

@bimbolabuari that's odd, I think I can link this to a mysql 8 thing but... I don't see why you'd be in mysql8 if you're using our vagrant box.
Can you check mysql --version inside the vagrant box?
Thanks

@bimbolabuari
Copy link

@rowasc checking mysql --version shows that the vagrant box is using mysql 8.

image

@rowasc
Copy link
Contributor

rowasc commented Oct 20, 2020

ah , that's odd. Are you using the same vagrant box we are using, or the new/standard homestead box?
I have mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) this in mine.

@bimbolabuari
Copy link

Not sure if I am using the same vagrant box. However, I followed the setup instruction in the documentation
https://docs.ushahidi.com/platform-developer-documentation/development-and-code/setup_alternatives/vagrant-setup-
Currently using vagrant version 2.2.10 and also virtual box version 6.1.14
Do you suggest I downgrade the vagrant version?

@rowasc
Copy link
Contributor

rowasc commented Oct 20, 2020

@bimbolabuari no you should not need to change the version of vagrant itself. I'm confused since that version of homestead is even lower than the one I have. You may be able to make the change in Homestead.yml to avoid mysql8
https://stackoverflow.com/questions/61189727/laravel-homestead-downgrade-to-mysql-5-7 similar to this

features:
    - mysql8: false

And if that fails I guess uninstalling mysql8 in the box itself and reinstalling manually will do the trick (not ideal .. I definitely need to look more into why the setup is defaulting to mysql8 now)
LMK if the Homestead.yml change above works after re provisioning and we can submit a PR to change it for everyone if that's the case.
Thanks

@bimbolabuari
Copy link

@rowasc, I made the changes in homestead.yml

features:
    - mysql8: false

and also remove the vagrant box and re-provisioned it but still unable to create a post.
mysql version is still version 8. I tried the second option by uninstalling mysql8 but ubuntu0.20.04.4 is only compatible with mysql8.

@bimbolabuari
Copy link

@rowasc, I have been able to create a new post!

I discovered that the default version for mysql is version 8 for the latest version of laravel homestead box here. So i changed the version to 9.6.1 in the code below:

 # vendor/laravel/homestead/scripts/homestead.rb
 config.vm.box_version = settings["version"] ||= "9.6.1"

This adds ubuntu 18 and mysql 5.7 (mysql Ver 14.14 Distrib 5.7.31, for Linux (x86_64))

Thank you @rowasc!

Can I open a pull request to add this to the documentation?

@Erioldoesdesign
Copy link

Hi there! sorry I'm stepping in late! I noticed some comments on how skip to content on map should be handled and I'm wondering how important it is to have the skip to content read out the about information about the deployment first (the information that sits under the logo circle)

For sure, on a first users visit the info blurb first to better understand what the deployment is doing to give context to the posts. I wonder if we can cookie know that user has visited recently and skip reading out the blurb...hmm

For data view...this is a bit of an odd journey right? unless the link that a user clicks takes them straight to the deployment data view (it defaults to map right?) then the user needs to get through the nav items to select data view to then get to this skip to content link.

Once on the data view page what's being done is perfect, there should be a way to get into the first post in the list, open, then read through the info but there should also be an indication of how much data is in a single post so perhaps the screen readers need to read out the fields included in the first post and confirm they want to read and then move on to second post.

I'm happy to either like, chat through or perhaps do some prototypes/documents of the 'flow' of this but super happy this is being started 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment