This commit is contained in:
parent
e4671e816b
commit
900f322422
11 changed files with 161 additions and 80 deletions
|
|
@ -93,7 +93,7 @@ defmodule MvWeb.GroupLive.ShowAccessibilityTest do
|
|||
end
|
||||
|
||||
describe "keyboard navigation" do
|
||||
test "tab navigation works in modal", %{conn: conn} do
|
||||
test "tab navigation works in inline add member area", %{conn: conn} do
|
||||
# This test verifies that keyboard navigation is possible
|
||||
# Actual tab order testing would require more complex setup
|
||||
group = Fixtures.group_fixture()
|
||||
|
|
@ -107,7 +107,7 @@ defmodule MvWeb.GroupLive.ShowAccessibilityTest do
|
|||
|
||||
html = render(view)
|
||||
|
||||
# Modal should have focusable elements
|
||||
# Inline add member area should have focusable elements
|
||||
assert html =~ ~r/input|button/ ||
|
||||
html =~ "#member-search-input"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue