accessibility-widgets 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/widget.js +35 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accessibility-widgets",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "A comprehensive, lightweight accessibility widget that enhances web accessibility for all users. Provides multiple accessibility features including screen reader support, voice control, high contrast mode, and more.",
5
5
  "main": "widget.js",
6
6
  "scripts": {
package/widget.js CHANGED
@@ -1,4 +1,4 @@
1
- /* ===========================================
1
+ /* ===========================================
2
2
 
3
3
  ACCESSIBILITY WIDGET
4
4
 
@@ -514,6 +514,9 @@ const DEFAULT_WIDGET_CONFIG = {
514
514
  biggerCursor: ['bigger cursor', 'large cursor', 'cursor size', 'big cursor'],
515
515
  lineHeight: ['line height', 'line spacing', 'space between lines', 'line space'],
516
516
  textAlign: ['align text', 'text align', 'center text', 'alignment'],
517
+ saturation: ['saturation', 'color saturation', 'saturate', 'desaturate', 'grayscale'],
518
+ fontSelection: ['font selection', 'change font', 'select font', 'font'],
519
+ colorFilter: ['color filter', 'color blind', 'colorblind', 'filter'],
517
520
  screenReader: ['screen reader', 'read aloud', 'voice reader'],
518
521
  voiceControl: ['voice command', 'voice control', 'voice commands'],
519
522
  resetAll: ['reset all', 'reset everything', 'clear all', 'reset settings', 'reset']
@@ -529,6 +532,9 @@ const DEFAULT_WIDGET_CONFIG = {
529
532
  biggerCursor: ['größerer cursor', 'großer cursor', 'cursor größe'],
530
533
  lineHeight: ['zeilenhöhe', 'zeilenabstand', 'abstand zwischen zeilen'],
531
534
  textAlign: ['text ausrichten', 'textausrichtung', 'text zentrieren'],
535
+ saturation: ['sättigung', 'farbsättigung', 'sättigen', 'entsättigen', 'graustufen'],
536
+ fontSelection: ['schriftauswahl', 'schrift ändern', 'schrift wählen', 'schrift'],
537
+ colorFilter: ['farbfilter', 'farbenblind', 'filter'],
532
538
  screenReader: ['screenreader', 'vorlesen', 'sprach reader'],
533
539
  voiceControl: ['sprachbefehl', 'sprachsteuerung', 'sprachbefehle'],
534
540
  resetAll: ['alles zurücksetzen', 'alle zurücksetzen', 'alle löschen', 'einstellungen zurücksetzen']
@@ -544,6 +550,9 @@ const DEFAULT_WIDGET_CONFIG = {
544
550
  biggerCursor: ['cursor más grande', 'cursor grande', 'tamaño de cursor'],
545
551
  lineHeight: ['altura de línea', 'espaciado de líneas', 'espacio entre líneas'],
546
552
  textAlign: ['alinear texto', 'alineación de texto', 'centrar texto'],
553
+ saturation: ['saturación', 'saturación de color', 'saturar', 'desaturar', 'escala de grises'],
554
+ fontSelection: ['selección de fuente', 'cambiar fuente', 'seleccionar fuente', 'fuente'],
555
+ colorFilter: ['filtro de color', 'daltónico', 'filtro'],
547
556
  screenReader: ['lector de pantalla', 'leer en voz alta', 'lector de voz'],
548
557
  voiceControl: ['comando de voz', 'control de voz', 'comandos de voz'],
549
558
  resetAll: ['restablecer todo', 'restablecer todo', 'borrar todo', 'restablecer configuración']
@@ -559,6 +568,9 @@ const DEFAULT_WIDGET_CONFIG = {
559
568
  biggerCursor: ['cursore più grande', 'cursore grande', 'dimensione cursore'],
560
569
  lineHeight: ['altezza linea', 'spaziatura linee', 'spazio tra linee'],
561
570
  textAlign: ['allinea testo', 'allineamento testo', 'centra testo'],
571
+ saturation: ['saturazione', 'saturazione colore', 'saturare', 'desaturare', 'scala di grigi'],
572
+ fontSelection: ['selezione font', 'cambia font', 'seleziona font', 'font'],
573
+ colorFilter: ['filtro colore', 'daltonico', 'filtro'],
562
574
  screenReader: ['lettore schermo', 'leggi ad alta voce', 'lettore vocale'],
563
575
  voiceControl: ['comando vocale', 'controllo vocale', 'comandi vocali'],
564
576
  resetAll: ['ripristina tutto', 'ripristina tutto', 'cancella tutto', 'ripristina impostazioni']
@@ -574,6 +586,9 @@ const DEFAULT_WIDGET_CONFIG = {
574
586
  biggerCursor: ['curseur plus grand', 'grand curseur', 'taille curseur'],
575
587
  lineHeight: ['hauteur ligne', 'espacement lignes', 'espace entre lignes'],
576
588
  textAlign: ['aligner texte', 'alignement texte', 'centrer texte'],
589
+ saturation: ['saturation', 'saturation couleur', 'saturer', 'désaturer', 'niveaux de gris'],
590
+ fontSelection: ['sélection police', 'changer police', 'sélectionner police', 'police'],
591
+ colorFilter: ['filtre couleur', 'daltonien', 'filtre'],
577
592
  screenReader: ['lecteur écran', 'lire à haute voix', 'lecteur vocal'],
578
593
  voiceControl: ['commande vocale', 'contrôle vocal', 'commandes vocales'],
579
594
  resetAll: ['réinitialiser tout', 'réinitialiser tout', 'effacer tout', 'réinitialiser paramètres']
@@ -589,6 +604,9 @@ const DEFAULT_WIDGET_CONFIG = {
589
604
  biggerCursor: ['увеличенный курсор', 'большой курсор', 'размер курсора'],
590
605
  lineHeight: ['высота строки', 'интервал строк', 'пространство между строками'],
591
606
  textAlign: ['выровнять текст', 'выравнивание текста', 'центрировать текст'],
607
+ saturation: ['насыщенность', 'насыщенность цвета', 'насытить', 'обесцветить', 'оттенки серого'],
608
+ fontSelection: ['выбор шрифта', 'изменить шрифт', 'выбрать шрифт', 'шрифт'],
609
+ colorFilter: ['цветовой фильтр', 'дальтонизм', 'фильтр'],
592
610
  screenReader: ['программа чтения', 'читать вслух', 'голосовой ридер'],
593
611
  voiceControl: ['голосовая команда', 'голосовое управление', 'голосовые команды'],
594
612
  resetAll: ['сбросить все', 'сбросить всё', 'очистить все', 'сбросить настройки']
@@ -604,6 +622,9 @@ const DEFAULT_WIDGET_CONFIG = {
604
622
  biggerCursor: ['daha büyük imleç', 'büyük imleç', 'imleç boyutu'],
605
623
  lineHeight: ['satır yüksekliği', 'satır aralığı', 'satırlar arası boşluk'],
606
624
  textAlign: ['metni hizala', 'metin hizalama', 'metni ortala'],
625
+ saturation: ['doygunluk', 'renk doygunluğu', 'doygunlaştır', 'solgunlaştır', 'gri tonlama'],
626
+ fontSelection: ['yazı tipi seçimi', 'yazı tipini değiştir', 'yazı tipi seç', 'yazı tipi'],
627
+ colorFilter: ['renk filtresi', 'renk körü', 'filtre'],
607
628
  screenReader: ['ekran okuyucu', 'sesli oku', 'ses okuyucu'],
608
629
  voiceControl: ['sesli komut', 'sesli kontrol', 'sesli komutlar'],
609
630
  resetAll: ['hepsini sıfırla', 'tümünü sıfırla', 'hepsini temizle', 'ayarları sıfırla']
@@ -619,6 +640,9 @@ const DEFAULT_WIDGET_CONFIG = {
619
640
  biggerCursor: ['مؤشر أكبر', 'مؤشر كبير', 'حجم المؤشر'],
620
641
  lineHeight: ['ارتفاع الخط', 'تباعد الأسطر', 'مساحة بين الأسطر'],
621
642
  textAlign: ['محاذاة النص', 'محاذاة النص', 'توسيط النص'],
643
+ saturation: ['التشبع', 'تشبع اللون', 'تشبيع', 'إزالة التشبع', 'تدرج رمادي'],
644
+ fontSelection: ['اختيار الخط', 'تغيير الخط', 'اختر الخط', 'خط'],
645
+ colorFilter: ['مرشح الألوان', 'عمى الألوان', 'مرشح'],
622
646
  screenReader: ['قارئ الشاشة', 'اقرأ بصوت عالٍ', 'قارئ صوتي'],
623
647
  voiceControl: ['الأمر الصوتي', 'التحكم الصوتي', 'الأوامر الصوتية'],
624
648
  resetAll: ['إعادة تعيين الكل', 'إعادة تعيين جميع', 'مسح الكل', 'إعادة تعيين الإعدادات']
@@ -634,6 +658,9 @@ const DEFAULT_WIDGET_CONFIG = {
634
658
  biggerCursor: ['बड़ा कर्सर', 'बड़ा कर्सर', 'कर्सर का आकार'],
635
659
  lineHeight: ['लाइन की ऊंचाई', 'लाइन स्पेसिंग', 'लाइनों के बीच स्पेस'],
636
660
  textAlign: ['टेक्स्ट अलाइन करें', 'टेक्स्ट संरेखण', 'टेक्स्ट केंद्र में करें'],
661
+ saturation: ['संतृप्ति', 'रंग संतृप्ति', 'संतृप्त करें', 'असंतृप्त करें', 'ग्रेस्केल'],
662
+ fontSelection: ['फ़ॉन्ट चयन', 'फ़ॉन्ट बदलें', 'फ़ॉन्ट चुनें', 'फ़ॉन्ट'],
663
+ colorFilter: ['रंग फ़िल्टर', 'वर्णान्धता', 'फ़िल्टर'],
637
664
  screenReader: ['स्क्रीन रीडर', 'जोर से पढ़ें', 'वॉयस रीडर'],
638
665
  voiceControl: ['वॉयस कमांड', 'वॉयस नियंत्रण', 'वॉयस कमांड्स'],
639
666
  resetAll: ['सभी रीसेट करें', 'सब कुछ रीसेट करें', 'सब साफ़ करें', 'सेटिंग्स रीसेट करें']
@@ -649,6 +676,9 @@ const DEFAULT_WIDGET_CONFIG = {
649
676
  biggerCursor: ['更大的光标', '大光标', '光标大小'],
650
677
  lineHeight: ['行高', '行间距', '行之间的空间'],
651
678
  textAlign: ['对齐文本', '文本对齐', '居中文本'],
679
+ saturation: ['饱和度', '颜色饱和度', '饱和', '去饱和', '灰度'],
680
+ fontSelection: ['字体选择', '更改字体', '选择字体', '字体'],
681
+ colorFilter: ['颜色滤镜', '色盲', '滤镜'],
652
682
  screenReader: ['屏幕阅读器', '大声朗读', '语音阅读器'],
653
683
  voiceControl: ['语音命令', '语音控制', '语音命令'],
654
684
  resetAll: ['重置全部', '重置所有', '清除全部', '重置设置']
@@ -664,6 +694,9 @@ const DEFAULT_WIDGET_CONFIG = {
664
694
  biggerCursor: ['大きいカーソル', '大きなカーソル', 'カーソルサイズ'],
665
695
  lineHeight: ['行の高さ', '行間隔', '行間のスペース'],
666
696
  textAlign: ['テキスト配置', 'テキスト配置', 'テキストを中央'],
697
+ saturation: ['彩度', '色彩度', '彩度を上げる', '彩度を下げる', 'グレースケール'],
698
+ fontSelection: ['フォント選択', 'フォント変更', 'フォント選択', 'フォント'],
699
+ colorFilter: ['カラーフィルター', '色覚異常', 'フィルター'],
667
700
  screenReader: ['スクリーンリーダー', '音声で読む', '音声リーダー'],
668
701
  voiceControl: ['音声コマンド', '音声制御', '音声コマンド'],
669
702
  resetAll: ['すべてリセット', 'すべてリセット', 'すべてクリア', '設定をリセット']
@@ -736,7 +769,7 @@ const widgetStyles = `
736
769
  display: flex;
737
770
  justify-content: center;
738
771
  align-items: center;
739
- border:solid 4px white;
772
+ border:solid 2px white;
740
773
  }
741
774
 
742
775
  #snn-accessibility-button:hover {