Blackburn have signed young Accrington Stanley winger Connor Mahoney after the two clubs agreed a compensation package for the 16-year-old.