Skip to content

Commit 67d503f

Browse files
committed
Rename to accessibility first
1 parent 0a8aabf commit 67d503f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule ComponentsGuideWeb.AccessibilityFirstTestingController do
1+
defmodule ComponentsGuideWeb.AccessibilityFirstController do
22
use ComponentsGuideWeb, :controller
33

44
def index(conn, _params) do

apps/components_guide_web/lib/components_guide_web/router.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ defmodule ComponentsGuideWeb.Router do
2323

2424
get "/links", LinksController, :index
2525

26-
resources "/accessibility-first-testing",
27-
AccessibilityFirstTestingController,
26+
resources "/accessibility-first",
27+
AccessibilityFirstController,
2828
only: [:index, :show]
2929

3030
get "/swiftui", SwiftUIController, :index
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ topics = [
3636

3737
<div class="bg-white">
3838
<%= section "Topics", class: "container pt-8 pb-16 text-2xl" do %>
39-
<%= topic_article(title: "Landmarks and roles", link: Routes.accessibility_first_testing_path(@conn, :show, "roles-cheatsheet")) do %>
39+
<%= topic_article(title: "Landmarks and roles", link: Routes.accessibility_first_path(@conn, :show, "roles-cheatsheet")) do %>
4040
<p>Define what your elements are using a clear standard. Let your users quickly jump around the key parts of your page (better UX), and leverage those in your tests (better DX).</p>
4141
<% end %>
4242
<%= topic_article(title: "Widgets, Attributes & States") do %>

apps/components_guide_web/lib/components_guide_web/templates/concepts/index.html.eex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<li>Isolated unit tests
2626
<li>Integration tests
2727
<li>Acceptance tests
28-
<li><%= link 'Accessibility-first tests', to: Routes.accessibility_first_testing_path(@conn, :index) %>
28+
<li><%= link 'Accessibility-first tests', to: Routes.accessibility_first_path(@conn, :index) %>
2929
</ul>
3030
<% end %>
3131

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule ComponentsGuideWeb.AccessibilityFirstTestingView do
1+
defmodule ComponentsGuideWeb.AccessibilityFirstView do
22
use ComponentsGuideWeb, :view
33
require EEx
44
use ComponentsGuideWeb.Snippets

0 commit comments

Comments
 (0)