The rating input component should be fully accessible to users using keyboard navigation.
When a user navigates to the rating input component, they should be able to adjust the value by using the arrow keys.
The rating input component should also be labeled and provide a clear indication of the current value, minimum and maximum values, and what the range input represents to users.
bp-rating
Events
Name
Types
Description
input
InputEvent
occurs when the value changes
change
InputEvent
occurs when the value changes
Properties
Name
Types
Description
accessor
defines the greatest value in the range of permitted values
value
string | number | FormData | File
min
number
max
number
disabled
boolean
required
boolean
readonly
boolean
multiple
boolean
autocomplete
string
type
string
name
string
represents the name of the current
pattern
string
placeholder
string
minLength
number
maxLength
number
size
number
valueAsNumber
formAssociated
boolean
focus
reset
Attributes
Name
Types
Description
accessor
defines the greatest value in the range of permitted values