@public-ui/components 1.6.0-rc.13 → 1.6.0-rc.15
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.
- package/custom-elements.json +3 -3
- package/dist/cjs/{controller-74ceb4e2.js → controller-0cd28689.js} +1 -1
- package/dist/cjs/{controller-74ceb4e2.js.map → controller-0cd28689.js.map} +1 -1
- package/dist/cjs/{controller-b8d0de10.js → controller-43fe103f.js} +1 -1
- package/dist/cjs/{controller-b8d0de10.js.map → controller-43fe103f.js.map} +1 -1
- package/dist/cjs/controller-48d4248f.js +4 -0
- package/dist/cjs/controller-48d4248f.js.map +1 -0
- package/dist/cjs/{controller-d636acbc.js → controller-ceae9412.js} +1 -1
- package/dist/cjs/{controller-d636acbc.js.map → controller-ceae9412.js.map} +1 -1
- package/dist/cjs/{controller-icon-1cc6572a.js → controller-icon-ceafc344.js} +1 -1
- package/dist/cjs/{controller-icon-1cc6572a.js.map → controller-icon-ceafc344.js.map} +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/controller.js.map +1 -1
- package/dist/components/kol-input-adapter-leanup.js +1 -1
- package/dist/components/kol-input-adapter-leanup.js.map +1 -1
- package/dist/esm/{controller-a979f7a6.js → controller-31db8bf4.js} +1 -1
- package/dist/esm/{controller-a979f7a6.js.map → controller-31db8bf4.js.map} +1 -1
- package/dist/esm/{controller-d2d4a593.js → controller-3391cc2d.js} +1 -1
- package/dist/esm/{controller-d2d4a593.js.map → controller-3391cc2d.js.map} +1 -1
- package/dist/esm/controller-b26721c9.js +4 -0
- package/dist/esm/controller-b26721c9.js.map +1 -0
- package/dist/esm/{controller-c69b0aaa.js → controller-f8056e1a.js} +1 -1
- package/dist/esm/{controller-c69b0aaa.js.map → controller-f8056e1a.js.map} +1 -1
- package/dist/esm/{controller-icon-4388a5b7.js → controller-icon-7b8f547d.js} +1 -1
- package/dist/esm/{controller-icon-4388a5b7.js.map → controller-icon-7b8f547d.js.map} +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/kolibri/{controller-a979f7a6.js → controller-31db8bf4.js} +1 -1
- package/dist/kolibri/{controller-d2d4a593.js → controller-3391cc2d.js} +1 -1
- package/dist/kolibri/controller-b26721c9.js +4 -0
- package/dist/kolibri/controller-b26721c9.js.map +1 -0
- package/dist/kolibri/{controller-c69b0aaa.js → controller-f8056e1a.js} +1 -1
- package/dist/kolibri/{controller-icon-4388a5b7.js → controller-icon-7b8f547d.js} +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/doc/abbr.md +1 -1
- package/doc/accordion.md +1 -1
- package/doc/alert.md +1 -1
- package/doc/badge.md +1 -3
- package/doc/breadcrumb.md +2 -2
- package/doc/button-group.md +2 -2
- package/doc/button.md +2 -2
- package/doc/details.md +1 -1
- package/doc/heading.md +0 -4
- package/doc/icon.md +6 -6
- package/doc/image.md +4 -4
- package/doc/input-checkbox.md +2 -2
- package/doc/input-color.md +1 -1
- package/doc/input-date.md +4 -4
- package/doc/input-email.md +2 -2
- package/doc/input-file.md +2 -2
- package/doc/input-number.md +1 -1
- package/doc/input-password.md +1 -1
- package/doc/input-radio.md +5 -5
- package/doc/input-range.md +1 -1
- package/doc/input-text.md +2 -2
- package/doc/link-group.md +0 -2
- package/doc/link.md +2 -4
- package/doc/logo.md +0 -8
- package/doc/modal.md +4 -4
- package/doc/nav.md +0 -2
- package/doc/pagination.md +0 -4
- package/doc/progress.md +2 -2
- package/doc/quote.md +5 -5
- package/doc/skip-nav.md +1 -1
- package/doc/spin.md +2 -6
- package/doc/split-button.md +1 -1
- package/doc/table.md +13 -13
- package/doc/tabs.md +4 -4
- package/doc/textarea.md +1 -1
- package/doc/toast.md +0 -2
- package/doc/tooltip.md +1 -1
- package/doc/version.md +0 -8
- package/jest-test-results.json +1 -1
- package/package.json +1 -1
- package/vscode-custom-data.json +2 -2
- package/dist/cjs/controller-aa42c292.js +0 -4
- package/dist/cjs/controller-aa42c292.js.map +0 -1
- package/dist/esm/controller-7ae169ad.js +0 -4
- package/dist/esm/controller-7ae169ad.js.map +0 -1
- package/dist/kolibri/controller-7ae169ad.js +0 -4
- package/dist/kolibri/controller-7ae169ad.js.map +0 -1
- /package/dist/kolibri/{controller-a979f7a6.js.map → controller-31db8bf4.js.map} +0 -0
- /package/dist/kolibri/{controller-d2d4a593.js.map → controller-3391cc2d.js.map} +0 -0
- /package/dist/kolibri/{controller-c69b0aaa.js.map → controller-f8056e1a.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-4388a5b7.js.map → controller-icon-7b8f547d.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as t,H as e,r as i,g as a}from"./index-2c046ff1.js";import{n as s}from"./dev.utils-4290338e.js";import{b as n,e as l,w as h,a as r,s as d}from"./prop.validators-601f1068.js";import{a as o}from"./reuse-c2156413.js";import{I as u,g as p}from"./controller-
|
|
4
|
+
import{h as t,H as e,r as i,g as a}from"./index-2c046ff1.js";import{n as s}from"./dev.utils-4290338e.js";import{b as n,e as l,w as h,a as r,s as d}from"./prop.validators-601f1068.js";import{a as o}from"./reuse-c2156413.js";import{I as u,g as p}from"./controller-b26721c9.js";import"./a11y.tipps-9f948961.js";import"./index-37b5cbcf.js";import"./label-223fef8f.js";import"./tab-index-fc60df7a.js";class c extends u{constructor(t,e,a){super(t,e,a),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&this.component._value.length>0&&(this.component.state._currentLength=this.component._value.length)},this.component=t}validateHasCounter(t){n(this.component,"_hasCounter",t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateMaxLength(t){l(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePlaceholder(t){h(this.component,"_placeholder",t)}validateReadOnly(t){n(this.component,"_readOnly",t)}validateResize(t){r(this.component,"_resize",(t=>"string"==typeof t&&("both"===t||"horizontal"===t||"none"===t||"vertical"===t)),new Set("String {both, horizontal, vertical, none}"),t)}validateRequired(t){n(this.component,"_required",t)}validateRows(t){l(this.component,"_rows",t)}validateValue(t){h(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component._value)}componentWillLoad(){super.componentWillLoad(),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateResize(this.component._resize),this.validateRequired(this.component._required),this.validateRows(this.component._rows),this.validateValue(this.component._value)}}const f=":host{--a11y-min-size:44px;font-size:inherit}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role='button'],button:not([role='link']),kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}:host{max-width:100%}*{box-sizing:border-box}kol-span-wc{display:grid;place-items:center}kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}button,input,option,select,textarea{font-family:inherit}.icon-only>kol-span-wc>span>span{display:none}.required label>span::after,.required legend>span::after{content:'*'}:host{display:block}input,textarea{cursor:text}input[type='checkbox'],input[type='color'],input[type='file'],input[type='radio'],input[type='range'],label,option,select{cursor:pointer}input[type='color'],input[type='date'],input[type='datetime-local'],input[type='email'],input[type='file'],input[type='month'],input[type='number'],input[type='password'],input[type='search'],input[type='tel'],input[type='text'],input[type='time'],input[type='url'],input[type='week'],select:not([multiple]),select[multiple] option,textarea{font-size:1rem;width:100%}input[type='file']{padding:calc((var(--a11y-min-size) - 1rem) / 10) 0.5em}select[multiple] option{padding:calc((var(--a11y-min-size) - 1rem) / 2) 0.5em}kol-input.disabled :is(button,input,label,option,select,textarea){cursor:not-allowed;opacity:0.5}kol-input{display:grid}kol-input [slot='input']{flex-grow:1}input:not([type='checkbox'],[type='radio']),select:not([multiple]){height:2.75em}input:focus,option:focus,select:focus,textarea:focus{outline:0}.input{display:flex;align-items:center}.input>kol-icon{display:grid;height:var(--a11y-min-size);place-items:center}",v=t=>{t.style.overflow="hidden";const e=t.rows,a=t.clientHeight/e;t.rows=1;const i=Math.round(t.scrollHeight/a);return t.rows=e,i},y=class{render(){const{ariaDescribedBy:a}=p(this.state),i=!1===this.state._label;return t(e,{class:{"has-value":this.state._hasValue}},t("kol-input",{class:{textarea:!0,"hide-label":!!this.state._hideLabel,"has-counter":!!this.state._hasCounter},_alert:this.state._alert,_currentLength:this.state._currentLength,_disabled:this.state._disabled,_error:this.state._error,_hasCounter:this.state._hasCounter,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_id:this.state._id,_maxLength:this.state._maxLength,_readOnly:this.state._readOnly,_required:this.state._required,_touched:this.state._touched,onClick:()=>{var t;return null===(t=this.ref)||void 0===t?void 0:t.focus()}},t("span",{slot:"label"},i?t("slot",null):this.state._label),t("div",{slot:"input"},t("textarea",Object.assign({ref:this.catchRef,title:"",accessKey:this.state._accessKey,"aria-describedby":a.length>0?a.join(" "):void 0,"aria-labelledby":`${this.state._id}-label`,autoCapitalize:"off",autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,maxlength:this.state._maxLength,name:this.state._name,readOnly:this.state._readOnly,required:this.state._required,rows:this.state._rows,placeholder:this.state._placeholder,spellcheck:"false"},this.controller.onFacade,{onKeyUp:this.onChange,style:{resize:this.state._resize},value:this.state._value})),t("kol-tooltip",{"aria-hidden":"true",hidden:i||!this.state._hideLabel,_align:this._tooltipAlign,_id:`${this.state._id}-tooltip`,_label:"string"==typeof this.state._label?this.state._label:""}))))}constructor(t){i(this,t),this.catchRef=t=>{this.ref=t,o(this.host,this.ref)},this.onChange=t=>{this.ref instanceof HTMLTextAreaElement&&(d(this,"_currentLength",this.ref.value.length),this.state._adjustHeight&&(this._rows=v(this.ref))),"function"==typeof this.controller.onFacade.onChange&&this.controller.onFacade.onChange(t)},this._accessKey=void 0,this._adjustHeight=!1,this._alert=!0,this._disabled=void 0,this._error=void 0,this._hasCounter=void 0,this._hideLabel=void 0,this._hint="",this._id=void 0,this._label=void 0,this._maxLength=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=void 0,this._resize="vertical",this._required=void 0,this._rows=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_adjustHeight:!1,_currentLength:0,_hasValue:!1,_id:`id-${s()}`,_label:!1,_resize:"vertical"},this.controller=new c(this,"textarea",this.host)}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAdjustHeight(t){this.controller.validateAdjustHeight(t)}validateAlert(t){this.controller.validateAlert(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateError(t){this.controller.validateError(t)}validateHasCounter(t){this.controller.validateHasCounter(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMaxLength(t){this.controller.validateMaxLength(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validatePlaceholder(t){this.controller.validatePlaceholder(t)}validateReadOnly(t){this.controller.validateReadOnly(t)}validateResize(t){this.controller.validateResize(t)}validateRequired(t){this.controller.validateRequired(t)}validateRows(t){this.controller.validateRows(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){this.controller.validateTabIndex(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentWillLoad(){this._alert=!0===this._alert,this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((t=>this.state._hasValue=!!t))}get host(){return a(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_adjustHeight:["validateAdjustHeight"],_alert:["validateAlert"],_disabled:["validateDisabled"],_error:["validateError"],_hasCounter:["validateHasCounter"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_id:["validateId"],_label:["validateLabel"],_maxLength:["validateMaxLength"],_name:["validateName"],_on:["validateOn"],_placeholder:["validatePlaceholder"],_readOnly:["validateReadOnly"],_resize:["validateResize"],_required:["validateRequired"],_rows:["validateRows"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};y.style={default:f};export{y as kol_textarea};
|
package/doc/abbr.md
CHANGED
|
@@ -42,7 +42,7 @@ Der KoliBri Tooltip kann von Screenreadern vorgelesen werden und verändert sein
|
|
|
42
42
|
|
|
43
43
|
## Links und Referenzen
|
|
44
44
|
|
|
45
|
-
- https://developer.mozilla.org/de/docs/Web/HTML/Element/abbr
|
|
45
|
+
- <kol-link _href="https://developer.mozilla.org/de/docs/Web/HTML/Element/abbr" _target="_blank"><kol-link>
|
|
46
46
|
|
|
47
47
|
<!-- Auto Generated Below -->
|
|
48
48
|
|
package/doc/accordion.md
CHANGED
|
@@ -115,7 +115,7 @@ Standardansicht gelegt.
|
|
|
115
115
|
|
|
116
116
|
## Links und Referenzen
|
|
117
117
|
|
|
118
|
-
- https://www.w3.org/TR/wai-aria-practices/#accordion
|
|
118
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#accordion" _target="_blank"></kol-link>
|
|
119
119
|
|
|
120
120
|
<!-- Auto Generated Below -->
|
|
121
121
|
|
package/doc/alert.md
CHANGED
|
@@ -73,7 +73,7 @@ Bei der **Alert**-Komponente wurden insbesondere folgende Punkte der Barrierefre
|
|
|
73
73
|
|
|
74
74
|
## Links und Referenzen
|
|
75
75
|
|
|
76
|
-
- https://www.w3.org/TR/wai-aria-practices/#alert
|
|
76
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#alert" _target="_blank"></kol-link>
|
|
77
77
|
|
|
78
78
|
<!-- Auto Generated Below -->
|
|
79
79
|
|
package/doc/badge.md
CHANGED
|
@@ -38,7 +38,7 @@ Ein Icon (**`_icon`**) kann entweder als String angegeben werden, oder als Objek
|
|
|
38
38
|
Als String übergeben Sie die Iconklasse (z.B.: `_icon="codicon codicon-home`), das Icon wird links vom Text angezeigt.
|
|
39
39
|
Das Objekt ist vom Typ `KoliBriAllIcon`, kann also einen oder mehrere der Schlüssel `top`, `right`, `bottom` und `left` besitzen. Diese sind dann entweder String (siehe oben) oder ein Objekt vom Typ `KoliBriCustomIcon`, welches aus `icon` (String, siehe oben) und `style` (optional, Styleobjekt) besteht.
|
|
40
40
|
|
|
41
|
-
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _label="Übersicht Codicons"></kol-link>
|
|
41
|
+
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _target="_blank" _label="Übersicht Codicons"></kol-link>
|
|
42
42
|
|
|
43
43
|
### Nur Icon anzeigen
|
|
44
44
|
|
|
@@ -82,8 +82,6 @@ Die zusätzliche Ausgabe eines **Icon** gewährleistet, dass der Nutzer auch hie
|
|
|
82
82
|
|
|
83
83
|
<kol-alert _type="info">Eine explizite Angabe der Textfarbe ist nicht möglich.</kol-alert>
|
|
84
84
|
|
|
85
|
-
<!--## Links und Referenzen
|
|
86
|
-
|
|
87
85
|
<!-- Auto Generated Below -->
|
|
88
86
|
|
|
89
87
|
|
package/doc/breadcrumb.md
CHANGED
|
@@ -36,7 +36,7 @@ Das gesamte JSON-Objekt muss in eckigen Klammern an das Attribut **`_links`** ü
|
|
|
36
36
|
<b>Folgende Eigenschaften stehen zur Verfügung:</b>
|
|
37
37
|
|
|
38
38
|
- **`_href`** übergibt den Link, der für dieses Element verwendet werden soll.
|
|
39
|
-
- **`_icon`** (optional) übergibt den Namen des Icon, wenn zusätzlich zum Text des Elements noch ein Icon angezeigt werden soll. Es stehen die <kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _label="Codicons"></kol-link> zur Verfügung
|
|
39
|
+
- **`_icon`** (optional) übergibt den Namen des Icon, wenn zusätzlich zum Text des Elements noch ein Icon angezeigt werden soll. Es stehen die <kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _target="_blank" _label="Codicons"></kol-link> zur Verfügung
|
|
40
40
|
- **`_hide-label`** (optional). Wenn der Wert auf **true** gesetzt wird, erscheint im Link ausschließlich das Icon, ohne weiteren Text. Die Eigenschaft `_icon` muss gesetzt werden.
|
|
41
41
|
- **`_label`** übergibt den Text, der für dieses Element angezeigt werden soll.
|
|
42
42
|
|
|
@@ -81,7 +81,7 @@ Beachten Sie, dass auch das letzte Element in der Breadcrumb-Komponente per Tab-
|
|
|
81
81
|
|
|
82
82
|
## Links und Referenzen
|
|
83
83
|
|
|
84
|
-
- https://www.w3.org/TR/wai-aria-practices/#breadcrumb
|
|
84
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#breadcrumb" _target="_blank"></kol-link>
|
|
85
85
|
|
|
86
86
|
<!-- Auto Generated Below -->
|
|
87
87
|
|
package/doc/button-group.md
CHANGED
|
@@ -43,7 +43,7 @@ Im einfachsten Fall besteht die **ButtonGroup**-Komponente aus einer Liste besch
|
|
|
43
43
|
|
|
44
44
|
Über das Attribut **`_icon="xxx"`** wird festgelegt, ob und welches Icon verwendet werden soll.
|
|
45
45
|
|
|
46
|
-
Eine Übersicht über die zur Verfügung stehenden Icons in KoliBri finden Sie
|
|
46
|
+
Eine Übersicht über die zur Verfügung stehenden Icons in KoliBri finden Sie <kol-link _href="https://icofont.com/icons" _target="_blank" _label="hier"></kol-link>.
|
|
47
47
|
|
|
48
48
|
Über das Attribut **`_hide-label`** legen Sie fest, ob nur das Icon angezeigt werden soll. Der Inhalt des Attributs **`_label`** wird nicht mehr angezeigt.
|
|
49
49
|
|
|
@@ -82,7 +82,7 @@ Bei Verwendung der **ButtonGroup**-Komponente sind keine besonderen Maßnahmen i
|
|
|
82
82
|
|
|
83
83
|
## Links und Referenzen
|
|
84
84
|
|
|
85
|
-
- https://www.w3.org/TR/wai-aria-practices/#button
|
|
85
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#button" _target="_blank"></kol-link>
|
|
86
86
|
|
|
87
87
|
<!-- Auto Generated Below -->
|
|
88
88
|
|
package/doc/button.md
CHANGED
|
@@ -49,7 +49,7 @@ Ein Icon (**`_icon`**) kann entweder als String angegeben werden, oder als Objek
|
|
|
49
49
|
Als String übergeben Sie die Iconklasse (z.B.: `_icon="codicon codicon-home`), das Icon wird links vom Text angezeigt.
|
|
50
50
|
Das Objekt ist vom Typ `KoliBriAllIcon`, kann also einen oder mehrere der Schlüssel `top`, `right`, `bottom` und `left` besitzen. Diese sind dann entweder String (siehe oben) oder ein Objekt vom Typ `KoliBriCustomIcon`, welches aus `icon` (String, siehe oben) und `style` (optional, Styleobjekt) besteht.
|
|
51
51
|
|
|
52
|
-
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _label="Übersicht Codicons"></kol-link>
|
|
52
|
+
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _target="_blank" _label="Übersicht Codicons"></kol-link>
|
|
53
53
|
|
|
54
54
|
### Schaltfläche ohne Text
|
|
55
55
|
|
|
@@ -91,7 +91,7 @@ Probleme mit Disabled-Status
|
|
|
91
91
|
|
|
92
92
|
## Links und Referenzen
|
|
93
93
|
|
|
94
|
-
- https://www.w3.org/TR/wai-aria-practices/#button
|
|
94
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#button" _target="_blank"></kol-link>
|
|
95
95
|
|
|
96
96
|
<!-- Auto Generated Below -->
|
|
97
97
|
|
package/doc/details.md
CHANGED
|
@@ -84,7 +84,7 @@ Verwenden Sie das Attribut **`_summary`**, um den Text zu definieren, der als Ü
|
|
|
84
84
|
|
|
85
85
|
## Links und Referenzen
|
|
86
86
|
|
|
87
|
-
- https://www.w3.org/TR/UNDERSTANDING-WCAG20/minimize-error-context-help.html
|
|
87
|
+
- <kol-link _href="https://www.w3.org/TR/UNDERSTANDING-WCAG20/minimize-error-context-help.html" _target="_blank"></kol-link>
|
|
88
88
|
|
|
89
89
|
<!-- Auto Generated Below -->
|
|
90
90
|
|
package/doc/heading.md
CHANGED
|
@@ -33,10 +33,6 @@ Die Überschriftenebene wird durch das Attribut **`_level`** übergeben. Möglic
|
|
|
33
33
|
- Achten Sie bei der Verwendung von Headings auf die empfohlene Semantik für die Suchmaschinenoptimierung.
|
|
34
34
|
- Setzen Sie Headings in verschiedenen Größen ein, um eine sinnvolle Struktur Ihrer Inhalte zu erzeugen.
|
|
35
35
|
|
|
36
|
-
## Barrierefreiheit
|
|
37
|
-
|
|
38
|
-
<!--## Links und Referenzen
|
|
39
|
-
|
|
40
36
|
<!-- Auto Generated Below -->
|
|
41
37
|
|
|
42
38
|
|
package/doc/icon.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Mit Hilfe der **Icon**-Komponente können Icons aus eingebundenen Icon-Fonts an beliebigen Positionen dargestellt werden. Die Ausgabe des Icon kann über das Attribut **`_icon`** gesteuert werden und erfolgt durch das Attribut **`_label`** barrierefrei. Die Ausgabe erfolgt standardmäßig als _`inline`_-Element.
|
|
4
4
|
|
|
5
|
-
Aktuell werden die Icons von <kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _label="Codicons"></kol-link> unterstützt.
|
|
5
|
+
Aktuell werden die Icons von <kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _target="_blank" _label="Codicons"></kol-link> unterstützt.
|
|
6
6
|
|
|
7
7
|
<kol-alert _heading="Hinweis" _type="info">Es ist wichtig, dass in der Rahmenseite (`index.html`) die CSS-Dateie(n) der Icon-Font(s) eingebunden ist/sind.</kol-alert>
|
|
8
8
|
|
|
@@ -26,13 +26,13 @@ Das Icon (**`_icon`**) kann entweder als String angegeben werden, oder als Objek
|
|
|
26
26
|
Als String übergeben Sie die Iconklasse (z.B.: `_icon="codicon codicon-home`), das Icon wird links vom Text angezeigt.
|
|
27
27
|
Das Objekt ist vom Typ `KoliBriAllIcon`, kann also einen oder mehrere der Schlüssel `top`, `right`, `bottom` und `left` besitzen. Diese sind dann entweder String (siehe oben) oder ein Objekt vom Typ `KoliBriCustomIcon`, welches aus `icon` (String, siehe oben) und `style` (optional, Styleobjekt) besteht.
|
|
28
28
|
|
|
29
|
-
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _label="Übersicht Codicons"></kol-link>
|
|
29
|
+
<kol-link _href="https://microsoft.github.io/vscode-codicons/dist/codicon.html" _target="_blank" _label="Übersicht Codicons"></kol-link>
|
|
30
30
|
|
|
31
31
|
## Barrierefreiheit
|
|
32
32
|
|
|
33
33
|
Wichtig ist bei Kontext-relevanten Grafiken, dass sie beschriftet werden.
|
|
34
34
|
|
|
35
|
-
- https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/
|
|
35
|
+
- <kol-link _href="" _label=""></kol-link>https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/
|
|
36
36
|
|
|
37
37
|
### Aria-Label
|
|
38
38
|
|
|
@@ -40,9 +40,9 @@ Mittels der Auszeichnung `aria-label` muss ein Kontext-relevantes Icon beschrift
|
|
|
40
40
|
|
|
41
41
|
## Links und Referenzen
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
- <kol-link _href="https://github.com/microsoft/vscode-codicons" _target="_blank" _label="Codicons"></kol-link>
|
|
44
|
+
- <kol-link _href="https://fontawesome.com" _target="_blank" _label="Font-Awesome"></kol-link>
|
|
45
|
+
- <kol-link _href="https://icofont.com" _target="_blank" _label="Icofont"></kol-link>
|
|
46
46
|
|
|
47
47
|
<!-- Auto Generated Below -->
|
|
48
48
|
|
package/doc/image.md
CHANGED
|
@@ -29,15 +29,15 @@ Die Komponente **Image** wird über das HTML-Tag `<kol-image>` erzeugt.
|
|
|
29
29
|
Mittels **`_srcset`** (und **`_sizes`**) können unterschiedliche Bilder für unterschiedliche Auflösungen und Pixeldichten (des Displays) hinterlegt werden, um auf großen Bildschirmen scharfe Bilder zu liefern und auf kleinen Monitoren nicht unnötig Bandbreite zu verbrauchen.
|
|
30
30
|
Des Weiteren können mittels **`_srcset`** auch verschiedene Dateiformate angegeben werden, um für moderne Browser Bandbreite zu sparen, allerdings ältere Geräte weiterhin zu unterstützen.
|
|
31
31
|
Auch bei Verwendung von **`_srcset`** sollte **`_src`** genutzt werden, da dies von den Browsern als letzte Option verwendet wird, sofern a) **`srcset`** nicht unterstützt wird, oder b) dort kein passendes Bild gefunden wurde.
|
|
32
|
-
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset" _label="MDN Artikel zu srcset"></kol-link>
|
|
33
|
-
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes" _label="MDN Artikel zu sizes"></kol-link>
|
|
32
|
+
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset" _target="_blank" _label="MDN Artikel zu srcset"></kol-link>
|
|
33
|
+
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/sizes" _target="_blank" _label="MDN Artikel zu sizes"></kol-link>
|
|
34
34
|
Für weitere Infos zu **`_srcset`** siehe [Links und Referenzen](#links-und-referenzen)
|
|
35
35
|
|
|
36
36
|
### Ladeverhalten
|
|
37
37
|
|
|
38
38
|
Das Attribut **`_loading`** ist optional. Gesetzt werden kann hier entweder `eager` oder `lazy`, sofern ungesetzt wird `lazy` verwendet.
|
|
39
39
|
`eager` sorgt für ein Laden des Bildes direkt beim Betreten der Seite, bei `lazy` lädt der Browser das Bild erst, kurz bevor es sichtbar wird. In der Regel muss `eager` nicht gesetzt werden, setzen Sie es nur sofern Ladeverzögerungen auftreten, oder das Bild sich sicher im, bei Betreten der Seite, sichtbaren Bereich befindet. (z.B.: Logo im Header oder Hero)
|
|
40
|
-
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading" _label="MDN Artikel zu loading"></kol-link>
|
|
40
|
+
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading" _target="_blank" _label="MDN Artikel zu loading"></kol-link>
|
|
41
41
|
|
|
42
42
|
## Barrierefreiheit
|
|
43
43
|
|
|
@@ -48,7 +48,7 @@ Diese Beschreibung wird von Screenreadern vorgelesen und von Browsern angezeigt,
|
|
|
48
48
|
|
|
49
49
|
## Links und Referenzen
|
|
50
50
|
|
|
51
|
-
Ausführliche Erklärung zu `_srcset` und `_sizes`: https://www.mediaevent.de/html/srcset.html
|
|
51
|
+
Ausführliche Erklärung zu `_srcset` und `_sizes`: <kol-link _href="https://www.mediaevent.de/html/srcset.html" _target="_blank"></kol-link>
|
|
52
52
|
|
|
53
53
|
<!-- Auto Generated Below -->
|
|
54
54
|
|
package/doc/input-checkbox.md
CHANGED
|
@@ -51,8 +51,8 @@ Achten Sie darauf, jeder Checkbox ein Label zuzuweisen, da dieses von Screenread
|
|
|
51
51
|
|
|
52
52
|
## Links und Referenzen
|
|
53
53
|
|
|
54
|
-
- https://www.w3.org/TR/wai-aria-practices/#checkbox
|
|
55
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
54
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#checkbox" _target="_blank"></kol-link>
|
|
55
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
56
56
|
|
|
57
57
|
<!-- Auto Generated Below -->
|
|
58
58
|
|
package/doc/input-color.md
CHANGED
|
@@ -40,7 +40,7 @@ Für eine vollständige Barrierefreiheit prüfen Sie die Verwendung einer vorgef
|
|
|
40
40
|
|
|
41
41
|
## Links und Referenzen
|
|
42
42
|
|
|
43
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
43
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
44
44
|
|
|
45
45
|
<!-- Auto Generated Below -->
|
|
46
46
|
|
package/doc/input-date.md
CHANGED
|
@@ -46,10 +46,10 @@ Das Eingabefeld für Zeitangaben gibt es in unterschiedlichen Ausprägungen (Dat
|
|
|
46
46
|
|
|
47
47
|
## Links und Referenzen
|
|
48
48
|
|
|
49
|
-
- https://www.w3.org/TR/2012/WD-html-markup-20120329/input.date.html
|
|
50
|
-
- https://www.hassellinclusion.com/blog/input-type-date-ready-for-use/
|
|
51
|
-
- https://a11ysupport.io/tech/html/input(type-date)_element
|
|
52
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
49
|
+
- <kol-link _href="https://www.w3.org/TR/2012/WD-html-markup-20120329/input.date.html" _target="_blank"></kol-link>
|
|
50
|
+
- <kol-link _href="https://www.hassellinclusion.com/blog/input-type-date-ready-for-use/" _target="_blank"></kol-link>
|
|
51
|
+
- <kol-link _href="https://a11ysupport.io/tech/html/input(type-date)_element" _target="_blank"></kol-link>
|
|
52
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
53
53
|
|
|
54
54
|
<!-- Auto Generated Below -->
|
|
55
55
|
|
package/doc/input-email.md
CHANGED
|
@@ -37,8 +37,8 @@ Um eine fehlgeschlagene Validierung anzuzeigen, setzen Sie das Attrbut **`_error
|
|
|
37
37
|
|
|
38
38
|
## Links und Referenzen
|
|
39
39
|
|
|
40
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
41
|
-
- https://www.jotform.com/blog/html5-datalists-what-you-need-to-know-78024/
|
|
40
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
41
|
+
- <kol-link _href="https://www.jotform.com/blog/html5-datalists-what-you-need-to-know-78024/" _target="_blank"></kol-link>
|
|
42
42
|
|
|
43
43
|
<!-- Auto Generated Below -->
|
|
44
44
|
|
package/doc/input-file.md
CHANGED
|
@@ -19,7 +19,7 @@ Der Input-Typ **File** erzeugt ein Eingabefeld für zum Beispiel Uploads. Es kö
|
|
|
19
19
|
## Verwendung
|
|
20
20
|
|
|
21
21
|
Geben Sie über das Attribut **`_accept`** an, welche Dateitypen zur Auswahl erlaubt sind. Wird das Attribut nicht oder leer übergeben, sind alle Dateitypen erlaubt.
|
|
22
|
-
Mögliche Werte und weitere Informationen erhalten Sie im <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept" _label="MDN Artikel zum Attribut accept"></kol-link>.
|
|
22
|
+
Mögliche Werte und weitere Informationen erhalten Sie im <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept" _target="_blank" _label="MDN Artikel zum Attribut accept"></kol-link>.
|
|
23
23
|
|
|
24
24
|
### Best practices
|
|
25
25
|
|
|
@@ -37,7 +37,7 @@ Mögliche Werte und weitere Informationen erhalten Sie im <kol-link _href="https
|
|
|
37
37
|
|
|
38
38
|
## Links und Referenzen
|
|
39
39
|
|
|
40
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
40
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
41
41
|
|
|
42
42
|
<!-- Auto Generated Below -->
|
|
43
43
|
|
package/doc/input-number.md
CHANGED
|
@@ -29,7 +29,7 @@ Der Input-Typ **Number** erzeugt ein Eingabefeld für Zahlen.
|
|
|
29
29
|
|
|
30
30
|
## Links und Referenzen
|
|
31
31
|
|
|
32
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
32
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
33
33
|
|
|
34
34
|
<!-- Auto Generated Below -->
|
|
35
35
|
|
package/doc/input-password.md
CHANGED
|
@@ -34,7 +34,7 @@ Der Input-Typ **Password** erzeugt ein Eingabefeld für Passwörter. Die Eingabe
|
|
|
34
34
|
|
|
35
35
|
## Links und Referenzen
|
|
36
36
|
|
|
37
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
37
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
38
38
|
|
|
39
39
|
<!-- Auto Generated Below -->
|
|
40
40
|
|
package/doc/input-radio.md
CHANGED
|
@@ -59,7 +59,7 @@ Dem EventHandler werden zwei Parameter übergeben, das ursprüngliche Event und
|
|
|
59
59
|
### Best practices
|
|
60
60
|
|
|
61
61
|
- Achten sie darauf `id` und `name` korrekt zu setzen, damit die Daten beim Formular Absenden mitgesendet werden.
|
|
62
|
-
- Es wird immer mindestens ein Wert ausgewählt. Ähnlich dem Verhalten einer Select-Auswahl. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#selecting_a_radio_button_by_default)
|
|
62
|
+
- Es wird immer mindestens ein Wert ausgewählt. Ähnlich dem Verhalten einer Select-Auswahl. (<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#selecting_a_radio_button_by_default" _target="_blank"></kol-link>)
|
|
63
63
|
|
|
64
64
|
## Barrierefreiheit
|
|
65
65
|
|
|
@@ -73,10 +73,10 @@ Dem EventHandler werden zwei Parameter übergeben, das ursprüngliche Event und
|
|
|
73
73
|
|
|
74
74
|
## Links und Referenzen
|
|
75
75
|
|
|
76
|
-
- https://www.w3.org/TR/wai-aria-practices/#radiobutton
|
|
77
|
-
- https://www.w3schools.com/tags/att_input_type_radio.asp
|
|
78
|
-
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
|
|
79
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
76
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#radiobutton" _target="_blank"></kol-link>
|
|
77
|
+
- <kol-link _href="https://www.w3schools.com/tags/att_input_type_radio.asp" _target="_blank"></kol-link>
|
|
78
|
+
- <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio" _target="_blank"></kol-link>
|
|
79
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
80
80
|
|
|
81
81
|
<!-- Auto Generated Below -->
|
|
82
82
|
|
package/doc/input-range.md
CHANGED
|
@@ -40,7 +40,7 @@ Der Input-Typ **Range** erzeugt ein interaktives Element, mit dem Werte durch Ve
|
|
|
40
40
|
|
|
41
41
|
## Links und Referenzen
|
|
42
42
|
|
|
43
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
43
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
44
44
|
|
|
45
45
|
<!-- Auto Generated Below -->
|
|
46
46
|
|
package/doc/input-text.md
CHANGED
|
@@ -49,8 +49,8 @@ Der Input-Typ **Text** erzeugt ein Eingabefeld für normalen Text, Suchbegriffe,
|
|
|
49
49
|
|
|
50
50
|
## Links und Referenzen
|
|
51
51
|
|
|
52
|
-
- https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109
|
|
53
|
-
- https://www.jotform.com/blog/html5-datalists-what-you-need-to-know-78024/
|
|
52
|
+
- <kol-link _href="https://medium.com/@gavyn/til-autofocus-inputs-are-an-accessibility-problem-32ced60c3109" _target="_blank"></kol-link>
|
|
53
|
+
- <kol-link _href="https://www.jotform.com/blog/html5-datalists-what-you-need-to-know-78024/" _target="_blank"></kol-link>
|
|
54
54
|
|
|
55
55
|
<!-- Auto Generated Below -->
|
|
56
56
|
|
package/doc/link-group.md
CHANGED
|
@@ -77,8 +77,6 @@ nemo, incidunt excepturi facilis, amet ducimus minus quae corporis eligendi cum
|
|
|
77
77
|
| `Tab` | Fokussiert das erste Element der LinkGroup. |
|
|
78
78
|
| `Enter` | Ruft den hinterlegten Link auf. |
|
|
79
79
|
|
|
80
|
-
<!--## Links und Referenzen
|
|
81
|
-
|
|
82
80
|
<!-- Auto Generated Below -->
|
|
83
81
|
|
|
84
82
|
|
package/doc/link.md
CHANGED
|
@@ -12,7 +12,7 @@ Eingabe von Leerzeichen eingefügt werden. Zusätzliche Leerzeichen vergrößern
|
|
|
12
12
|
```html
|
|
13
13
|
<p>
|
|
14
14
|
In diesem Absatz wird ein Link gesetzt, der keine weiteren Attribute enthält.
|
|
15
|
-
<kol-link _href="https://www.w3.org">Hier steht ein Link</kol-link>Er wird standardmäßig als
|
|
15
|
+
<kol-link _href="https://www.w3.org" _target="_blank">Hier steht ein Link</kol-link>Er wird standardmäßig als
|
|
16
16
|
<i>
|
|
17
17
|
<b>inline-Element</b>
|
|
18
18
|
</i>
|
|
@@ -24,7 +24,7 @@ Eingabe von Leerzeichen eingefügt werden. Zusätzliche Leerzeichen vergrößern
|
|
|
24
24
|
|
|
25
25
|
<p>
|
|
26
26
|
In diesem Absatz wird ein Link gesetzt, der keine weiteren Attribute enthält.
|
|
27
|
-
<kol-link _href="https://www.w3.org">Hier steht ein Link</kol-link>Er wird standardmäßig als <i>
|
|
27
|
+
<kol-link _href="https://www.w3.org" _target="_blank">Hier steht ein Link</kol-link>Er wird standardmäßig als <i>
|
|
28
28
|
<b>inline-Element</b>
|
|
29
29
|
</i> ausgegeben.
|
|
30
30
|
</p>
|
|
@@ -63,8 +63,6 @@ Eingabe von Leerzeichen eingefügt werden. Zusätzliche Leerzeichen vergrößern
|
|
|
63
63
|
| `Tab` | Fokussiert das Link-Element. |
|
|
64
64
|
| `Enter` | Ruft den hinterlegten Link auf. |
|
|
65
65
|
|
|
66
|
-
<!--## Links und Referenzen
|
|
67
|
-
|
|
68
66
|
<!-- Auto Generated Below -->
|
|
69
67
|
|
|
70
68
|
|
package/doc/logo.md
CHANGED
|
@@ -48,14 +48,6 @@ Das Attribut **`_org`** wird für die Definition des gewünschten Logos verwende
|
|
|
48
48
|
|
|
49
49
|
**BMZ** = **_Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung_**
|
|
50
50
|
|
|
51
|
-
<!--### Best practices
|
|
52
|
-
|
|
53
|
-
### Anwendungsfälle-->
|
|
54
|
-
|
|
55
|
-
## Barrierefreiheit
|
|
56
|
-
|
|
57
|
-
<!--## Links und Referenzen
|
|
58
|
-
|
|
59
51
|
<!-- Auto Generated Below -->
|
|
60
52
|
|
|
61
53
|
|
package/doc/modal.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Hinweis
|
|
2
2
|
|
|
3
|
-
Vielen Dank, dass Sie diese Komponente zur Umsetzung eines Modals verwenden wollen. Inzwischen ist das native `<dialog>` Element sehr gut unterstützt (
|
|
3
|
+
Vielen Dank, dass Sie diese Komponente zur Umsetzung eines Modals verwenden wollen. Inzwischen ist das native `<dialog>` Element sehr gut unterstützt (<kol-link _href="https://caniuse.com/?search=dialog" _target="_blank" _label="caniuse"></kol-link>), barrierefrei, einfach zu benutzen und performanter (da nativ), daher empfehlen wir dieses zu verwenden. Wenn Sie aufgrund von Abwärtskompatibilität, oder weil Sie die **Modal**-Komponente bereits eingebaut haben, die Dokumentation zu unserem KolModal suchen, finden Sie diese etwas weiter unten. Die **Modal**-Komponente wird in Version 2 noch zur Verfügung stehen.
|
|
4
4
|
|
|
5
5
|
## Verwendung von `dialog`-Tag
|
|
6
6
|
|
|
7
|
-
Die Dokumentation des `<dialog>` finden Sie
|
|
7
|
+
Die Dokumentation des `<dialog>` finden Sie <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" _target="_blank" _label="hier(MDN)"></kol-link>.
|
|
8
8
|
Das **Dialog**-Element kann wie jedes andere HTML-Tag verwendet werden, alle Elemente innerhalb werden wie gewohnt dargestellt.
|
|
9
9
|
Der Dialog ist standardmäßig nicht sichtbar, über das Setzen des Attributs `open`, oder über die Funktionen `show()` und `showModal()` wird er sichtbar.
|
|
10
10
|
`open` und `show()` öffnen das Element mit `position: absolute`, während `showModal()` `position: fixed` setzt.
|
|
@@ -99,8 +99,8 @@ Des Weiteren gibt es immer nur maximal ein aktives Modal, welches alle selektier
|
|
|
99
99
|
|
|
100
100
|
### Links und Referenzen
|
|
101
101
|
|
|
102
|
-
- https://www.w3.org/TR/wai-aria-practices/#dialog_modal
|
|
103
|
-
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html
|
|
102
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices/#dialog_modal" _target="_blank"></kol-link>
|
|
103
|
+
- <kol-link _href="https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html" _target="_blank"></kol-link>
|
|
104
104
|
|
|
105
105
|
<!-- Auto Generated Below -->
|
|
106
106
|
|
package/doc/nav.md
CHANGED
|
@@ -100,8 +100,6 @@ Die Ausrichtung der Navigationsleiste kann mit dem Attribut **`_orientation`** u
|
|
|
100
100
|
| `Tab` | Fokussiert den ersten Menüpunkt in der Navigation. Nachfolgend kann mit der Tab-Taste jeder Menüpunkt angesprungen werden. Wenn der Has-compact-Button aktiviert wurde, ist dieser ebenfalls mit der Tab-Taste erreichbar. |
|
|
101
101
|
| `Enter` | Klappt Unterpunkte auf/zu, sofern eine Ausklappschaltfläche fokussiert ist, aktiviert die Schaltfläche oder öffnet den Link anderenfalls. |
|
|
102
102
|
|
|
103
|
-
<!--## Links und Referenzen
|
|
104
|
-
|
|
105
103
|
<!-- Auto Generated Below -->
|
|
106
104
|
|
|
107
105
|
|
package/doc/pagination.md
CHANGED
|
@@ -41,10 +41,6 @@ Die **Paginierung**-Komponente kann über Ihre Properties konfiguriert werden.
|
|
|
41
41
|
Die **Paginierung**-Komponente kann auf vielfältige Art eingesetzt werden. Insbesondere dort, wo auf einer Inhaltsseite umfangreiche Inhalte dargestellt werden sollen, trägt sie zur Verbesserung der Struktur und Übersichtlichkeit bei.
|
|
42
42
|
Klassische Anwendungsbereiche einer Paginierung sind z.B. Blog-ähnliche Inhalte, Listen und Tabellen. Auch für bestimmte Navigationsaufgaben innerhalb einer Seite kann die Paginierung gut verwendet werden.
|
|
43
43
|
|
|
44
|
-
<!-- ## Barrierefreiheit -->
|
|
45
|
-
|
|
46
|
-
<!-- ## Links und Referenzen -->
|
|
47
|
-
|
|
48
44
|
<!-- Auto Generated Below -->
|
|
49
45
|
|
|
50
46
|
|
package/doc/progress.md
CHANGED
|
@@ -37,8 +37,8 @@ Verwenden Sie das Attribut **`_value`**, um den aktuellen Wert der Komponente zu
|
|
|
37
37
|
|
|
38
38
|
## Links und Referenzen
|
|
39
39
|
|
|
40
|
-
- https://developer.mozilla.org/de/docs/Web/HTML/Element/progress
|
|
41
|
-
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_progressbar_role
|
|
40
|
+
- <kol-link _href="https://developer.mozilla.org/de/docs/Web/HTML/Element/progress" _target="_blank"></kol-link>
|
|
41
|
+
- <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_progressbar_role" _target="_blank"></kol-link>
|
|
42
42
|
|
|
43
43
|
<!-- Auto Generated Below -->
|
|
44
44
|
|
package/doc/quote.md
CHANGED
|
@@ -11,11 +11,11 @@ Die `inline`-Variante ist Standard, sofern die Eingerückte gewünscht ist, kann
|
|
|
11
11
|
|
|
12
12
|
## References
|
|
13
13
|
|
|
14
|
-
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/quote
|
|
15
|
-
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
|
|
16
|
-
- https://www.mediaevent.de/html/quote.html
|
|
17
|
-
- https://www.mediaevent.de/html/cite.html
|
|
18
|
-
- https://accessibleweb.com/question-answer/what-is-a-block-quote-and-when-should-i-use-it/
|
|
14
|
+
- <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/quote" _target="_blank"></kol-link>
|
|
15
|
+
- <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite" _target="_blank"></kol-link>
|
|
16
|
+
- <kol-link _href="https://www.mediaevent.de/html/quote.html" _target="_blank"></kol-link>
|
|
17
|
+
- <kol-link _href="https://www.mediaevent.de/html/cite.html" _target="_blank"></kol-link>
|
|
18
|
+
- <kol-link _href="https://accessibleweb.com/question-answer/what-is-a-block-quote-and-when-should-i-use-it/" _target="_blank"></kol-link>
|
|
19
19
|
|
|
20
20
|
<!-- Auto Generated Below -->
|
|
21
21
|
|
package/doc/skip-nav.md
CHANGED
|
@@ -47,7 +47,7 @@ Die **SkipNav** wird durch Übergabe eines JSON-Objekts erzeugt, das für das Re
|
|
|
47
47
|
|
|
48
48
|
## Links und Referenzen
|
|
49
49
|
|
|
50
|
-
- https://webaim.org/techniques/skipnav/
|
|
50
|
+
- <kol-link _href="https://webaim.org/techniques/skipnav/" _target="_blank"></kol-link>
|
|
51
51
|
|
|
52
52
|
<!-- Auto Generated Below -->
|
|
53
53
|
|
package/doc/spin.md
CHANGED
|
@@ -79,7 +79,7 @@ Ladeanzeigen, wie die **Spin**-Komponente, informieren die Nutzer:innen über La
|
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
<kol-alert _heading="Reduce Motion" _level="4" _type="warning">Wenn möglich sollte stets auf Animationen verzichtet werden. Wenn Animationen genutzt werden, sollte immer darauf geachtet werden, eine Variante mit reduzierter Animationsgeschwindigkeit anzubieten. Mehr Informationen dazu findet sich hier:
|
|
82
|
-
<kol-link
|
|
82
|
+
<kol-link _href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion" _target="_blank"></kol-link></kol-alert>
|
|
83
83
|
|
|
84
84
|
### Beispiel
|
|
85
85
|
|
|
@@ -89,7 +89,7 @@ Ladeanzeigen, wie die **Spin**-Komponente, informieren die Nutzer:innen über La
|
|
|
89
89
|
|
|
90
90
|
<kol-details _summary="CSS Loaders & Spinners" _open>
|
|
91
91
|
Es gibt im Internet viele verschiedene CSS Loaders und Spinners. Beispielsweise bietet _Vineeth_ eine ganze Reihe interessanter CSS Loaders an. Diese können auch in der KoliBri Bibliothek genutzt werden. Dazu muss lediglich der Link zu der entsprechenden CSS Datei in den Head der HTML Datei eingebunden werden. Anschließend kann die gewünschte Animation über den Expert-Slot in die KoliBri-Komponente eingebunden werden. Hier sind einige Beispiele (ohne reduzierte Animationsgeschwindigkeit):
|
|
92
|
-
<kol-link
|
|
92
|
+
<kol-link _href="https://github.com/vineethtrv/css-loader" _target="_blank" _target="_blank"></kol-link>
|
|
93
93
|
</kol-details>
|
|
94
94
|
|
|
95
95
|
## Verwendung
|
|
@@ -108,10 +108,6 @@ Verwenden Sie das Attribut `_show` um festzulegen, ob der Spin angezeigt wird.
|
|
|
108
108
|
- Download von Inhalten.
|
|
109
109
|
- Laden von umfangreichen Inhalten, z.B. Videos.
|
|
110
110
|
|
|
111
|
-
<!-- ## Barrierefreiheit -->
|
|
112
|
-
|
|
113
|
-
<!--## Links und Referenzen
|
|
114
|
-
|
|
115
111
|
<!-- Auto Generated Below -->
|
|
116
112
|
|
|
117
113
|
|
package/doc/split-button.md
CHANGED
package/doc/table.md
CHANGED
|
@@ -100,22 +100,22 @@ Aktuell werden folgende Attribute von der Komponente verwaltet: `role`, `scope`
|
|
|
100
100
|
|
|
101
101
|
Das heißt beispielsweise, dass bei den Spaltenüberschriften automatisch entweder die Rolle `colheader` oder `rowheader` gesetzt wird. Darüber hinaus wird der Scope entweder auf `col`/`colgroup` oder `row`/`rowgroup` gesetzt. Ähnlich dieser Automatismen werden auch die `aria-\*`-Attribute je nach Relevanz gesetzt.
|
|
102
102
|
|
|
103
|
-
Warum die Tabelle einen **Tabindex** hat, wird auf der folgenden Webseite beschrieben: https://dequeuniversity.com/rules/axe/3.5/scrollable-region-focusable
|
|
103
|
+
Warum die Tabelle einen **Tabindex** hat, wird auf der folgenden Webseite beschrieben: <kol-link _href="" _label=""></kol-link>https://dequeuniversity.com/rules/axe/3.5/scrollable-region-focusable
|
|
104
104
|
|
|
105
105
|
## Links und Referenzen
|
|
106
106
|
|
|
107
|
-
- https://www.w3.org/WAI/tutorials/tables/
|
|
108
|
-
- https://www.barrierefreies-webdesign.de/knowhow/datentabellen/scope.html
|
|
109
|
-
- https://developer.mozilla.org/de/docs/Web/Accessibility/ARIA/ARIA_Live_Regions
|
|
110
|
-
- https://tollwerk.de/projekte/tipps-techniken-inklusiv-barrierefrei/aria-live-regionen
|
|
111
|
-
- https://www.barrierefreies-webdesign.de/knowhow/live-regions/attribute.html
|
|
112
|
-
- https://www.digitala11y.com/aria-sort-properties/
|
|
113
|
-
- https://dequeuniversity.com/library/aria/table-sortable
|
|
114
|
-
- https://www.maxability.co.in/2016/06/07/aria-sort-property/
|
|
115
|
-
- https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaSort
|
|
116
|
-
- https://tollwerk.de/projekte/tipps-techniken-inklusiv-barrierefrei/aria-live-regionen
|
|
117
|
-
- https://stackoverflow.com/questions/1312236/
|
|
118
|
-
- https://dequeuniversity.com/rules/axe/3.5/scrollable-region-focusable
|
|
107
|
+
- <kol-link _href="https://www.w3.org/WAI/tutorials/tables/" _target="_blank"></kol-link>
|
|
108
|
+
- <kol-link _href="https://www.barrierefreies-webdesign.de/knowhow/datentabellen/scope.html" _target="_blank"></kol-link>
|
|
109
|
+
- <kol-link _href="https://developer.mozilla.org/de/docs/Web/Accessibility/ARIA/ARIA_Live_Regions" _target="_blank"></kol-link>
|
|
110
|
+
- <kol-link _href="https://tollwerk.de/projekte/tipps-techniken-inklusiv-barrierefrei/aria-live-regionen" _target="_blank"></kol-link>
|
|
111
|
+
- <kol-link _href="https://www.barrierefreies-webdesign.de/knowhow/live-regions/attribute.html" _target="_blank"></kol-link>
|
|
112
|
+
- <kol-link _href="https://www.digitala11y.com/aria-sort-properties/" _target="_blank"></kol-link>
|
|
113
|
+
- <kol-link _href="https://dequeuniversity.com/library/aria/table-sortable" _target="_blank"></kol-link>
|
|
114
|
+
- <kol-link _href="https://www.maxability.co.in/2016/06/07/aria-sort-property/" _target="_blank"></kol-link>
|
|
115
|
+
- <kol-link _href="https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaSort" _target="_blank"></kol-link>
|
|
116
|
+
- <kol-link _href="https://tollwerk.de/projekte/tipps-techniken-inklusiv-barrierefrei/aria-live-regionen" _target="_blank"></kol-link>
|
|
117
|
+
- <kol-link _href="https://stackoverflow.com/questions/1312236/" _target="_blank"></kol-link>
|
|
118
|
+
- <kol-link _href="https://dequeuniversity.com/rules/axe/3.5/scrollable-region-focusable" _target="_blank"></kol-link>
|
|
119
119
|
|
|
120
120
|
<!-- Auto Generated Below -->
|
|
121
121
|
|