fix: improve skeleton loading accessibility and consistency

- Add role="status" and aria-label to all skeleton containers
- Refactor ChannelSidebar from conditional siblings to ternary
  for consistent mutual exclusivity with MemberSidebar pattern
This commit is contained in:
Jannis Braun
2026-03-22 02:51:02 +01:00
parent 7d21f25f39
commit fcbdac7a2f
4 changed files with 7 additions and 9 deletions
@@ -264,7 +264,7 @@ export function AppLayout() {
if (isLoading || !user) {
return (
<div className="h-full flex bg-surface-base">
<div className="h-full flex bg-surface-base" role="status" aria-label="Loading Backspace">
{/* Space strip */}
<div className="w-[72px] hidden md:flex flex-col items-center gap-3 pt-4 bg-surface-base flex-shrink-0">
{Array.from({ length: 5 }, (_, i) => (