This example shows how to disable some dropdown items for various a11y use-cases. Please try keyboard navigation with Tab and Arrow Up/Down to better understand the behavior

Link (enabled) Link (disabled, not focusable) Link (disabled, focusable)