As a developer gets older and has more experience they are definitely expected to show leadership skills. While this can look different for everybody, usually it looks like some combination of:
1. Ability to mentor others 2. Ability to be the "expert" on the team. A go to developer for design and architecture advice 3. Ability to be the liaison with other development teams, product management, or sometimes upper management
Unfortunately it is rare that you can be an experienced develop er and not be expected to show leadership in these areas, along with your development work.