Fixed failing test and added more accessibility improvements

- Updated linked images to have obvious focus styles
- Added proper role to notifications
- Made dropdown list focus styles a bit nicer.
- Updated book list chapter child slide down to be keyboard activatable.

Related to #1320
This commit is contained in:
Dan Brown
2019-08-25 17:21:25 +01:00
parent 9fbef8cd1b
commit 2dfe6c2d56
7 changed files with 19 additions and 10 deletions

View File

@ -87,7 +87,7 @@ class PageRevisionTest extends TestCase
// Delete the first revision
$revision = $page->revisions->get(1);
$resp = $this->asEditor()->delete($revision->getUrl('/delete/'));
$resp->assertStatus(200);
$resp->assertRedirect($page->getUrl('/revisions'));
$page = Page::find($page->id);
$afterRevisionCount = $page->revisions->count();