Show a task card's actions above tabs for notes, images and materials
The opened task card keeps its details and description at the top, then the status, book hours, edit and remove actions, and below them tabs: checklist and comments, images, and materials and machines. The tabs are a project component (x-tabs) after the WAI-ARIA pattern, because TallStackUI's tab ties its panels to missing ids and has no arrow keys. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -272,7 +272,7 @@ new class extends Component
|
||||
|
||||
<div>
|
||||
@if (($this->context?->usesStock ?? false) || $this->movements !== [])
|
||||
<section aria-label="{{ __('inventory.task.list_of', ['title' => $taskTitle]) }}" class="space-y-3">
|
||||
<section data-task-section aria-label="{{ __('inventory.task.list_of', ['title' => $taskTitle]) }}" class="space-y-3">
|
||||
<h4 class="font-medium">{{ __('inventory.task.title') }}</h4>
|
||||
|
||||
<p id="task-{{ $taskId }}-materials-status" tabindex="-1" role="status" aria-live="polite" class="text-sm focus:outline-none">{{ $message }}</p>
|
||||
|
||||
Reference in New Issue
Block a user