UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

4 lines 460 B
/*! * KoliBri - The accessible HTML-Standard */ import{J as watchJsonArrayString,t as a11yHint}from"./common.js";const validateSuggestions=(s,t)=>{watchJsonArrayString(s,"_suggestions",s=>"string"==typeof s||"number"==typeof s,t,void 0,{hooks:{afterPatch:s=>{Array.isArray(s)&&s.length&&a11yHint("Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.")}}})};export{validateSuggestions as v};