From 93854e0c95be1f9eafb462a6786b3a1bf58b0bbc Mon Sep 17 00:00:00 2001 From: Dave Iverson Date: Fri, 2 May 2025 16:23:08 -0500 Subject: [PATCH] Removed the link role from the index table Each row of the collection table had a `role=link` attribute, which was removing the default "row" role. This caused screen readers to ignore all of the table's rows. Removing the attribute resolves this issue. --- app/views/administrate/application/_collection.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/administrate/application/_collection.html.erb b/app/views/administrate/application/_collection.html.erb index e49c1dcc20..88ca395b2f 100644 --- a/app/views/administrate/application/_collection.html.erb +++ b/app/views/administrate/application/_collection.html.erb @@ -69,7 +69,7 @@ to display a collection of resources in an HTML table. <% resources.each do |resource| %> - <%= %(tabindex=0 role=link data-url=#{polymorphic_path([namespace, resource])}) %> + <%= %(tabindex=0 data-url=#{polymorphic_path([namespace, resource])}) %> <% end %> > <% collection_presenter.attributes_for(resource).each do |attribute| %>