From 3386e7158cb0904a77a0979e515e6948cb433af7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 2 May 2026 00:15:48 +0900 Subject: feat(slides): align slide controller center --- services/nuldoc/lib/nuldoc/pages/slide_page.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'services/nuldoc/lib') diff --git a/services/nuldoc/lib/nuldoc/pages/slide_page.rb b/services/nuldoc/lib/nuldoc/pages/slide_page.rb index 5d7371c6..f58be386 100644 --- a/services/nuldoc/lib/nuldoc/pages/slide_page.rb +++ b/services/nuldoc/lib/nuldoc/pages/slide_page.rb @@ -52,13 +52,15 @@ module Nuldoc end div class: 'controllers' do div class: 'controllers-buttons' do - button id: 'prev', type: 'button' do + button id: 'prev', type: 'button', + 'aria-label': '前のページ (←/h)', title: '前のページ (←/h)' do elem 'svg', width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', 'stroke-width': '2' do elem 'path', d: 'M15 18l-6-6 6-6' end end - button id: 'next', type: 'button' do + button id: 'next', type: 'button', + 'aria-label': '次のページ (→/l)', title: '次のページ (→/l)' do elem 'svg', width: '20', height: '20', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', 'stroke-width': '2' do elem 'path', d: 'M9 18l6-6-6-6' -- cgit v1.3.1