forked from shibao/cannery
		
	improve modal accessibility
This commit is contained in:
		@@ -6,6 +6,7 @@
 | 
			
		||||
    p-8 flex flex-col justify-center items-center cursor-auto"
 | 
			
		||||
  style="background-color: rgba(0,0,0,0.4);"
 | 
			
		||||
  phx-remove={hide_modal()}
 | 
			
		||||
  aria-label={gettext("Close modal")}
 | 
			
		||||
>
 | 
			
		||||
  <span class="hidden"></span>
 | 
			
		||||
</.link>
 | 
			
		||||
@@ -31,6 +32,7 @@
 | 
			
		||||
        text-gray-500 hover:text-gray-800
 | 
			
		||||
        transition-all duration-500 ease-in-out"
 | 
			
		||||
      phx-remove={hide_modal()}
 | 
			
		||||
      aria-label={gettext("Close modal")}
 | 
			
		||||
    >
 | 
			
		||||
      <i class="fa-fw fa-lg fas fa-times"></i>
 | 
			
		||||
    </.link>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user