]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/entity-list-item-basic.blade.php
Made a mass of accessibility improvements
[bookstack] / resources / views / partials / entity-list-item-basic.blade.php
index 020522e23aeff1d1d9086458edeec3952edfc5a0..2ec4bee5cc07dbf13db6b0978effd5990551cdc4 100644 (file)
@@ -1,6 +1,6 @@
 <?php $type = $entity->getType(); ?>
 <a href="{{ $entity->getUrl() }}" class="{{$type}} {{$type === 'page' && $entity->draft ? 'draft' : ''}} {{$classes ?? ''}} entity-list-item" data-entity-type="{{$type}}" data-entity-id="{{$entity->id}}">
-    <div class="entity-icon text-{{$type}}">@icon($type)</div>
+    <span role="presentation" class="icon text-{{$type}}">@icon($type)</span>
     <div class="content">
             <h4 class="entity-list-item-name break-text">{{ $entity->name }}</h4>
             {{ $slot ?? '' }}